Create M.A.S.A Version 1.0
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
|
||||
angular
|
||||
.module('app.reports')
|
||||
.factory('ReportJson', ReportJson)
|
||||
//.factory('ReportJson', ReportJson)
|
||||
.value('id',{})
|
||||
|
||||
ReportJson.$inject = ['$resource','$rootScope'];
|
||||
/*ReportJson.$inject = ['$resource','$rootScope'];
|
||||
function ReportJson($resource, $rootScope){
|
||||
return $resource('http://'+$rootScope.domainUrl+'/api/reports/:id');
|
||||
//var json="data/data.json";
|
||||
//return $resource(json);
|
||||
};
|
||||
//return $resource('http://'+$rootScope.domainUrl+'/api/reports/:id');
|
||||
var json="data/data.json";
|
||||
return $resource(json);
|
||||
};*/
|
||||
|
||||
})();
|
Reference in New Issue
Block a user