Part-6 Prac 4: Create a webpage to show the dinner menu for a restaurant using AngularJS.



  • 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-modelit 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: Naisarg Modi
ID: 18CE055

Comments

Popular posts from this blog

Part-7 Prac 2: Study and demonstrate php syntax, data type, variable, function, array, superglobal variable and form (Self-learning exercise using this link: https://www.w3schools.com/php/).

Part-6 Prac 5 :Create Hello World program using Node.js.