angular.module("mystrom.login.services",[]).factory("loginService",["$http","$q","$timeout",function(t,e){function r(){return c}function n(){return e(function(t,e){cordova.exec(t,e,"mystrom","getToken",[])})}function o(){return n().then(function(t){return console.log("Token: ",t),c={},c.authToken=t,c})}function u(r){return t.get("http://192.168.20.74:1234/mobile/auth",{params:r}).success(function(t){if(t.error){var r=e.defer();return r.reject(t.error),r.promise}return c=t,t})}var c=null;return{login:u,getAuthData:r,setAuthToken:o}}]).value("proxyUrl","http://localhost:1234").value("baseUrl","");