In AngularJS they have $scope.$apply()
method to update the UI when there's a model change that is not done through normal AngularJS means.
In the more recent tutorials they recommend using the <controller> as <object>
style of instantiating the objects and use this
as the scope from their example
.controller('TodoListController', function() {
var todoList = this;
However todoList.$apply()
does not appear to work. Am I forced to use $scope.$apply()
for this?