I am new to angular js. I have an input field of type number. I want to pre-populate it with a value that comes from a json file.
This does not work when I assign the value using ng-model. It works on a regular input of type text though.
I have also tried using ng-value directive and the value attribute. But no luck.
Need help. Thanks!