← BYTES
AngularJS·Starter·Ref: 5.1.3
What does ng-model do when placed on an <input> element?
Have a question about this video? Mention reference 5.1.3 when you contact us.
a.It sets a static placeholder value
b.It validates the input against a regular expression only
c.It disables the input field
d.It creates a two-way binding between the input's value and a property on $scope
ng-model binds the input's value to a $scope property in both directions: typing in the input updates the scope property, and programmatically changing the scope property updates what's shown in the input.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES513#AngularJS