Commit c693d2155eb09263c42c031194f7e0519d61c493

Authored by Eric Fernandez
1 parent 39618cc3b5
Exists in master

identación

Showing 1 changed file with 12 additions and 10 deletions   Show diff stats
... ... @@ -4,15 +4,17 @@ angular.module('appWrapperDemo')
4 4 '$localStorage',
5 5 'ENDPOINT_BASE',
6 6 function($http, $localStorage, ENDPOINT_BASE) {
7   - var direccion = ENDPOINT_BASE;
8   - return {
9   - URL: $localStorage.urlEndPoint,
10   - setUrl: function(url) {
11   - this.URL = url;
12   - $localStorage.urlEndPoint = url;
13   - },
14   - getUrl: function() {
15   - return $http.get(direccion + '/terminal/consultar');
16   - }
  7 +
  8 + var direccion = ENDPOINT_BASE;
  9 +
  10 + return {
  11 + URL: $localStorage.urlEndPoint,
  12 + setUrl: function(url) {
  13 + this.URL = url;
  14 + $localStorage.urlEndPoint = url;
  15 + },
  16 + getUrl: function() {
  17 + return $http.get(direccion + '/terminal/consultar');
  18 + }
17 19 };
18 20 }]);