mirror of
https://github.com/Foltik/Shimapan
synced 2025-01-05 15:58:03 -05:00
Remove $window dependency from ApiSvc
This commit is contained in:
parent
c09aaf55ec
commit
8b06a715cd
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user