Now I write code without context, $scope
app.controller(function(){
// ..
this.list = [];
// what ever work with a list of
this.$digest(); // is not a function, why?
});
before I could
app.controller(function($scope){
// ..
$scope.list = [];
// what ever work with a list of
$scope.$digest();
});
But me need this, how it work?