Ver código fonte

Remove $window dependency from ApiSvc

pull/11/head
Jack Foltz 6 anos atrás
pai
commit
8b06a715cd
Acessado por: foltik <jack@foltz.io> ID da chave GPG: 303F88F996E95541
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      app/public/services/ApiSvc.js

+ 1
- 1
app/public/services/ApiSvc.js Ver arquivo

@@ -1,6 +1,6 @@
var angular = require('angular');

angular.module('ApiSvc', []).service('ApiService', ['$http', '$window', function ($http, $window) {
angular.module('ApiSvc', []).service('ApiService', ['$http', function ($http) {
this.getKey = function (identifier, cb) {
$http({
method: 'GET',


Carregando…
Cancelar
Salvar