Sha256: efc614c19dd7c6b51aacac4d8160b4e8c1b3d161c73c3774d1a2f80678929d92
Contents?: true
Size: 359 Bytes
Versions: 11
Compression:
Stored size: 359 Bytes
Contents
'use strict'; angular.module('entangledTest') .controller('MessageCtrl', function($scope, $routeParams, Message) { $scope.update = function() { $scope.message.$save(); }; Message.find($routeParams.id, function(message) { $scope.$apply(function() { $scope.message = message; console.log('Show callback called!'); }); }); });
Version data entries
11 entries across 11 versions & 1 rubygems