1
0
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:
Jack Foltz 2018-01-14 09:24:40 -05:00
parent c09aaf55ec
commit 8b06a715cd
Signed by: foltik
GPG Key ID: 303F88F996E95541

View File

@ -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',