I have simple angular web application and form on it. Form contains 2 <input> and 1 <p> elements. p value is angular template:
<p>{{status()}}</p>
$scope.status = function(){
alert('p');
return 'Some status';
}
When page loaded all displays normally i see alert and 'Some status' in my <p>. But I have a question. When i try to input something to the <input>, i see alert('p') again and again every time when i typing any symbol to the input? Why?
Thank you.
<input>are you referring to?<input>in forms, but they not in any way related to the p