SmartIT_Extensions/BMC/smart-it-full-helix/scripts/app/dashboard/dashboard-service.js

22 lines
668 B
JavaScript

"use strict";
(function () {
'use strict';
angular.module('dashboardModule')
.factory('dashboardService', ['$resource',
function ($resource) {
var dashboardService = $resource('data/tickets.json', {}, {
getList: { method: 'GET', isArray: false }
});
return dashboardService;
}
])
.factory('dashboardFeedService', ['$resource',
function ($resource) {
var dashboardFeedService = $resource('data/feeds.json', {}, {
getList: { method: 'GET', isArray: false }
});
return dashboardFeedService;
}
]);
}());