Sha256: a53edcd15e9c4c493ec2e81f6a81c7aa65b1e51da8eff862fbee5eb563e13749
Contents?: true
Size: 700 Bytes
Versions: 4
Compression:
Stored size: 700 Bytes
Contents
;(function() { 'use strict'; function ProfileQuestions($resource) { var ProfileQuestionResource = $resource('/social_networking/profile_questions/:id', { id: '@profile_question_id' }); function ProfileQuestion() {} ProfileQuestion.getAll = function() { return ProfileQuestionResource.query().$promise; }; ProfileQuestion.getOne = function(profile_question_id) { return ProfileQuestionResource.get({ id: profile_question_id }).$promise; }; return ProfileQuestion; } angular.module('socialNetworking.services') .service('ProfileQuestions', ['$resource', ProfileQuestions]); })();
Version data entries
4 entries across 4 versions & 1 rubygems