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