Plato on Github
Report Home
services/notification.js
Maintainability
73.57
Lines of code
19
Difficulty
5.13
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
'use strict'; /** * @ngdoc service * @name Sns * @description * # notificationFactory * Factory in the Sns. */ angular.module('SnsApp') .factory('notificationFactory', ['$resource', function($resource) { return $resource('/api/v1/activities', {}, { get: { method: 'GET' }, put: { method: 'PUT' } }); }]);