Plato on Github
Report Home
services/user_photos.js
Maintainability
73.74
Lines of code
19
Difficulty
4.81
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
'use strict'; /** * @ngdoc service * @name Sns.page * @description * # page * Factory in the Sns. */ angular.module('SnsApp') .factory('UserPhotosFactory', ['$resource', function($resource) { return $resource('/api/v1/users/:userId/photos', {}, { get: { method: 'GET', params: { id: '@id' } } }); }]);