Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion a1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,9 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
var vm = this;
vm.title = 'Some Title';

$scope.$watch('vm.title', function(current, original) {
$scope.$watch(function(){
return vm.title;
}, function(current, original) {
$log.info('vm.title was %s', original);
$log.info('vm.title is now %s', current);
});
Expand Down