Plato on Github
Report Home
services/trending.js
Maintainability
79.45
Lines of code
16
Difficulty
4.85
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
'use strict'; /** * @ngdoc service * @name Sns.trendingFactory * @description * # trendingFactory * Factory in the Sns. */ angular.module('SnsApp') .factory('trendingFactory', ['$resource', function($resource) { return $resource('/api/v1/photos', {}, { get: { method: 'GET', } }); }]);