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 3: Study and demonstrate mysqli connection and CRUID operations with php.

Part-6 Prac 1: Implement following tasks using jQuery

Part-2 Prac 3: If you could take the perfect trip, where would you go??? What animals would you see? What food would you eat? Add images to this webpage after each paragraph tag, to share your perfect trip with the world. Apply graphics using HTML CANVAS along with properties and methods.