{I" class:ETI"ProcessedAsset;FI"logical_path;TI"2social_networking/resources/goals-resource.js;FI" pathname;TI"}/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/goals-resource.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+¢¿UI" length;TiœI" digest;TI"%bc101c1848356f110d6ed730be3b1c2f;FI" source;TI"œ;(function() { 'use strict'; function Goals($resource) { var GoalResource = $resource('/social_networking/goals/:id', { id: '@id' }); function Goal() {} // Persist a Goal to the server. Goal.create = function(attributes) { var goal = new GoalResource({ description: attributes.description, isCompleted: attributes.isCompleted, dueOn: attributes.dueOn }); return goal.$save(); }; // Update a Goal on the server. Goal.update = function(attributes) { var goal = new GoalResource({ id: attributes.id, description: attributes.description, isCompleted: attributes.isCompleted, isDeleted: attributes.isDeleted, dueOn: attributes.dueOn }); return goal.$save(); }; return Goal; } angular.module('socialNetworking.services') .service('Goals', ['$resource', Goals]); })(); ;TI"dependency_digest;TI"%e0bb3b0df1224ba6454799b1d4948c22;FI"required_paths;T[I"}/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/goals-resource.js;FI"dependency_paths;T[{I" path;TI"}/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/goals-resource.js;F@I"2015-08-03T12:17:18-05:00;T@I"%bc101c1848356f110d6ed730be3b1c2f;FI" _version;TI"%069e88c06b889877799890854d7f4c40;F