The ng-model directive binds an input, select, textarea or other custom control to a property.
In the above case (see AngularJs Simple Program for the whole program ) the object that is being formed is an item (from supermarket list). So I have used the item.kind expression inside the directive.
In the above case (see AngularJs Simple Program for the whole program ) the object that is being formed is an item (from supermarket list). So I have used the item.kind expression inside the directive.
Δεν υπάρχουν σχόλια:
Δημοσίευση σχολίου