Reputation: 31
Product Id *</span> --> Product Id is required. Product Version * </span> --> Product Version is required.
Upvotes: 1
Views: 8918
Reputation: 1448
Check out the "Simple form" provided in the documentation itself:
https://docs.angularjs.org/guide/forms
Here, basically this expression {{user | json}}
converts the ng-Model object user to a json string.
Check out the working example from the plunker provided by them. I have edited the plunk to keep only the part relevant to your query.
Upvotes: 1