AngularJS MCQ - Quiz

  • A A server-side programming language
  • B A front-end web development framework
  • C A database management system
  • D An operating system
  • A A way to declare variables in AngularJS
  • B A way to create new modules in AngularJS
  • C A way to extend HTML in AngularJS
  • D A way to add comments to HTML in AngularJS
  • A Only IE in Microsoft phones
  • B Only iOS
  • C IE and Chrome Browser
  • D Yes, Android, Chrome Mobile, iOS Safari
  • A There is no difference between ng-if and ng-show
  • B ng-if removes the element from the DOM, while ng-show hides the element using CSS
  • C ng-show removes the element from the DOM, while ng-if hides the element using CSS
  • D ng-if and ng-show are used for different purposes and cannot be compared
  • A Model represents data stored in database
  • B Model represents server side data
  • C Model is the lowest level of the pattern responsible for maintaining data
  • D None of the options
  • A ng-model directive binds the values of AngularJS application data to HTML input controls
  • B ng-model directive creates a model variable which can be used with the HTML page and within the container control having ng-app directive
  • C Both the options
  • D None of the options
  • A HTML and CSS
  • B HTML and JavaScript
  • C HTML and PHP
  • D HTML and AngularScript
  • A A way to inject CSS styles into HTML
  • B A way to inject JavaScript code into HTML
  • C A way to inject data into a component
  • D A way to inject services into a component