I am new to angularjs. Trying to use it to build simple applications. I have a textbox in html with a default initial value of "Abc".
<input type="text" value="Abc">
Now, I want to fetch the value which is there in textbox. For that I am using ng-model directive.
<input type="text" ng-model="demo" value="Abc">
But as soon as I enter ng-model directive in input, the default value in text box disappears and it shows a blank textbox. Any ideas why?