forked from Archives/Athou_commafeed
unread count sync
This commit is contained in:
13
src/main/webapp/js/services.js
Normal file
13
src/main/webapp/js/services.js
Normal file
@@ -0,0 +1,13 @@
|
||||
var module = angular.module('commafeed.services', [ 'ngResource' ]);
|
||||
|
||||
module.factory('CategoryService', [ '$resource', '$http',
|
||||
function($resource, $http) {
|
||||
|
||||
var actions = {
|
||||
'get' : {
|
||||
method : 'GET'
|
||||
}
|
||||
}
|
||||
res = $resource('subscriptions', {}, actions);
|
||||
return res
|
||||
} ]);
|
||||
Reference in New Issue
Block a user