Plato on Github
Report Home
services/users_profile.js
Maintainability
84.96
Lines of code
20
Difficulty
5.20
Estimated Errors
0.03
Function weight
By Complexity
By SLOC
'use strict'; /** * @ngdoc service * @name SnsApp.usersProfile * @description * # usersProfile * Factory in the SnsApp. */ angular.module('SnsApp') .factory('usersProfile', function() { // Service logic // ... var meaningOfLife = 42; // Public API here return { someMethod: function() { return meaningOfLife; } }; });