Plato on Github
Report Home
services/user_profile_add.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.userAvatarFactory * @description * # userAvatarFactory * Factory in the Sns. */ angular.module('SnsApp') .factory('userAvatarFactory', ['$resource', function($resource) { return $resource('/api/v1/users/:id', {}, { update: { method: 'PUT', params: { id: '@id' } } }); }]);