How can I modify foo.callbacke
to reference the timerController.callbacke
method?
<div ng-app="timerApp" ng-controller="timerController as foo">
<div ng-repeat="item in [1,2,3,4]">
<div watcher="{'seconds': 'foo.callbacke'}">
{{seconds}}
</div>
</div>
If you prefer: http://jsfiddle.net/e86e05a1/ (open console)