{:uriI"file:///Users/ericcf/work/social_networking/app/assets/javascripts/social_networking/resources/profile-answer-resource.js?type=application/javascript&pipeline=self&id=7569fa9f26478567f56302f818dfd4167d27f5ba9c5cebb8cde0dfc96cb9f468:ET:load_pathI"@/Users/ericcf/work/social_networking/app/assets/javascripts;T: filenameI"w/Users/ericcf/work/social_networking/app/assets/javascripts/social_networking/resources/profile-answer-resource.js;T: nameI"8social_networking/resources/profile-answer-resource;T:logical_pathI"@social_networking/resources/profile-answer-resource.self.js;T:content_typeI"application/javascript;T: sourceI";(function() { 'use strict'; function ProfileAnswers($resource) { var ProfileAnswerResource = $resource('/social_networking/profile_answers/:id', { id: '@id' }); function ProfileAnswer() {} ProfileAnswer.getAll = function() { return ProfileAnswerResource.query().$promise; }; ProfileAnswer.getOne = function(profile_id, profile_question_id) { return ProfileAnswerResource.get({ profile_id: profile_id, profile_question_id: profile_question_id }).$promise; }; // Persist a Goal to the server. ProfileAnswer.create = function(attributes) { var answer = new ProfileAnswerResource({ profile_id: attributes.profile_id, profile_question_id: attributes.profile_question_id, answer_text: attributes.answer_text || "" }); return answer.$save(); }; // Update a Goal on the server. ProfileAnswer.update = function(attributes) { var answer = new ProfileAnswerResource({ id: attributes.id, profile_id: attributes.profile_id, profile_question_id: attributes.profile_question_id, answer_text: attributes.answer_text || "" }); return answer.$save(); }; return ProfileAnswer; } angular.module('socialNetworking.services') .service('ProfileAnswers', ['$resource', ProfileAnswers]); })(); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/ericcf/work/social_networking/app/assets/javascripts/social_networking/resources/profile-answer-resource.js;TTF:map[1{; I"~social_networking/resources/profile-answer-resource.source-eb2a066a9941d0e62a514d13741538d37eb33a94416cda33b3282b5388d2fdd6.js;T:generated[ii: original[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[i i;[i i{; @;[i i;[i i{; @;[i i;[i i{; @;[i i;[i i{; @;[i i;[i i{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[i i;[i i{; @;[i!i;[i!i{; @;[i"i;[i"i{; @;[i#i;[i#i{; @;[i$i;[i$i{; @;[i%i;[i%i{; @;[i&i;[i&i{; @;[i'i;[i'i{; @;[i(i;[i(i{; @;[i)i;[i)i{; @;[i*i;[i*i{; @;[i+i;[i+i{; @;[i,i;[i,i{; @;[i-i;[i-i{; @;[i.i;[i.i{; @;[i/i;[i/i{; @;[i0i;[i0i{; @;[i1i;[i1i: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%*jA*QMt8~:Al3(+S: lengthi:dependencies_digest"%r)Ή⦺Hb3_fJI㵾:idI"E7569fa9f26478567f56302f818dfd4167d27f5ba9c5cebb8cde0dfc96cb9f468;F