Sha256: 27cf374272257d38fa60265a1afd22c77ff0d38d1bd4e24543f88bef07d8a8fd
Contents?: true
Size: 504 Bytes
Versions: 20
Compression:
Stored size: 504 Bytes
Contents
;(function() { "use strict"; // Provide access to all group profiles. function NudgeCtrl(Nudges) { var self = this; Nudges.search(self.recipientId).then(function(nudges) { self.members = nudges; }); } NudgeCtrl.prototype.setRecipient = function(recipientId, controller) { controller.recipient_id = recipientId; }; // Create a module and register the controllers. angular.module('socialNetworking.controllers') .controller('NudgeCtrl', ['Nudges', NudgeCtrl]); })();
Version data entries
20 entries across 16 versions & 1 rubygems