I have this simple markup : (jsbin)
<div ng-app data-ng-controller="HelloWorldController">
<div>
<label>Message :
<input ng-model="message">
</label>
<h1>{{message}}</h1>
</div>
</div>
Where :
function HelloWorldController($scope)
{ var i=0;
setInterval(function (){i++;
console.log("Hello World "+i);
$scope.message="Hello World "+i;},1000);
}
In the console it does show me the intervals :
But in the View - I don't see it ,and I should see it:
Question :
What am I missing here and why it doesn't update my view ?