Plato on Github
Report Home
services/header_search.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.headerSearchFactory * @description * # headerSearchFactory * Factory in the Sns. */ angular.module('SnsApp') .factory('headerSearchFactory', ['$resource', function($resource) { return $resource('/api/v1/search', {}, { get: { method: 'GET', } }); }]);