Created
March 2, 2016 16:56
-
-
Save eduardoschmidtsantos/d7ef58d23fb59a1244f5 to your computer and use it in GitHub Desktop.
ex service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
angular | |
.module('dashboardWeb') | |
.factory('DashboardService', DashboardService); | |
/** @ngInject */ | |
function DashboardService($resource) { | |
return $resource('/conformit/api/v1/oversights/:widget/:id', {id: "@id"}, { | |
getNotificationWidget:{ | |
method: 'GET', | |
params: {widget: 'notification'} | |
} | |
}); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment