Built-in directives

Qus. 1 : Which directive conditionally displays content?

  1. ng-if
  2. ng-show-only
  3. ng-hide-if
  4. ng-condition
Qus. 2 : Which directive repeats HTML elements?

  1. ng-model
  2. ng-repeat
  3. ng-bind
  4. ng-app
Qus. 3 : Which directive replaces expression output inside HTML elements?

  1. ng-model
  2. ng-repeat
  3. ng-bind
  4. ng-if
Qus. 4 : Which of the following statements is correct about data binding in Angular]S?

  1. Automatic synchronization of data between model and view components
  2. Automatic synchronization of data between model and controller components
  3. Technique to save HTML data in the database
  4. Technique to bind database data to HTML control
Qus. 5 : Which is wrong statement about data binding in AngularJS?

  1. It is the synchronization between the model and the view
  2. ng-model directive is used to bind data from the model to the view on HTML controls
  3. double brackets (( )) can be used to display content from the model
  4. ng-bind directive is used to bind the inner HTML of the element to the specified model Property

Programs

Demonstrate how to use the ng-repeat directive to loop through an array of objects and display their properties in an HTML table.

View Solution


Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad