PRACTICAL 4
Create a webpage to show the dinner menu for a restaurant using AngularJS.
THEORY
Dinner Menu for Restaurant have been made using basic methods of AngularJs.
IMPORTANT TAGS & ATTRIBUTES:
- ng-controller:The ng-controller directive defines the application controller. A controller is a JavaScript Object, created by a standard JavaScript object constructor.
- ng-option:This element will then represent the null or "not selected" option.
- ng-change:The ng-change directive tells AngularJS what to do when the value of an HTML element changes
- ng-disabled:The ng-disabled directive sets the disabled attribute of a form field (input, select, or textarea)
- ng-model: it is a directive which binds input, select and textarea, and stores the required user value in a variable and we can use that variable whenever we require that value. It also is used during validations in a form.
NAME:AYUSH SINGLA
ID:18CE122
LINK:18ce122.blogspot.com
Comments
Post a Comment