Similar Collections


AngularJS is a JavaScript-based open-source front-end web framework for developing single-page applications. It is maintained mainly by Google and a community of individuals and corporations.

AngularJS MCQs: This section contains AngularJS Multiple-Choice Questions with Answers. These AngularJS MCQs are written for beginners as well as advanced, practice these MCQs to enhance and test the knowledge of AngularJS.

 

questions

Title
AngularJS is perfect for _______

AngularJS is perfect for _______.


  1. Create Single Page Applications
  2. Creating a Desktop Application
  3. Create Web Services
  4. None of these
discuss
AngularJS is a _____

AngularJS is a _____.


  1. HTML Framework
  2. .Net Framework
  3. JavaScript framework
  4. Oracle Framework
discuss
AngularJS is distributed as a _______

AngularJS is distributed as a _______.


  1. JavaScript file
  2. PHP file
  3. XML file
  4. ASP file
discuss
Who developed AngularJS?

Who developed AngularJS?


  1. Jesse James Garrett
  2. Douglas Crockford
  3. Miško Hevery
  4. Brendan Eich
discuss
Who maintained AngularJS?

Who maintained AngularJS?


  1. Google
  2. A community of individuals and corporations
  3. Oracle
  4. Both A. and B.
discuss
Is AngularJS free for commercial use?

Is AngularJS free for commercial use?


  1. Yes
  2. No
discuss
AngularJS expressions are written inside _____

AngularJS expressions are written inside _____.


  1. { expression }
  2. [{ expression }]
  3. _expression
  4. {{ expression }}
discuss
Which directive can be used to write AngularJS expressions?

Which directive can be used to write AngularJS expressions?


  1. ng-expression
  2. ng-bind
  3. ng-statement
  4. ng-bindexpression
discuss
Which is the correct syntax to write an AngularJS expression using the ng-bind directive?

Which is the correct syntax to write an AngularJS expression using the ng-bind directive?


  1. ng-bind="expression"
  2. ng-bind={expression}
  3. ng-bind={"expression"}
  4. ng-bind="{{expression}}"
discuss
An AngularJS module defines an ______

An AngularJS module defines an ______.


  1. expression
  2. application
  3. element
  4. None of the above
discuss
Which AngularJS function is used to create a module?

Which AngularJS function is used to create a module?


  1. module
  2. ng-bind
  3. angular.create
  4. angular.module
discuss
Which is the correct syntax to create a module?

Which is the correct syntax to create a module?


  1. var variable_name = angular.module("app_name", []);
  2. var variable_name = angular.module("app_name", []);
  3. var variable_name = angular.module("app_name", []);
  4. var variable_name = angular.module("app_name", []);
discuss
In the below given statement, "myApp" parameter refers to ____

In the below given statement, "myApp" parameter refers to ____.


  1. a JavaScript code in which the application will run
  2. a JSON file
  3. an HTML element in which the application will run
  4. SQL queries
discuss
Which prefix is used with the AngularJS directives?

Which prefix is used with the AngularJS directives?


  1. ag-
  2. ng-
  3. aj-
  4. All of the above
discuss
Which directive initializes an AngularJS application?

Which directive initializes an AngularJS application?


  1. ng-app
  2. ng-init
  3. ng-model
  4. ng-application
discuss
Which directive initializes application data?

Which directive initializes application data?


  1. ng-app
  2. ng-init
  3. ng-model
  4. ng-application
discuss
Which directive binds the value of HTML controls to application data?

Which directive binds the value of HTML controls to application data?


  1. ng-app
  2. ng-init
  3. ng-model
  4. ng-application
discuss
Which directive repeats an HTML element?

Which directive repeats an HTML element?


  1. ng-repeats
  2. ng-iterate
  3. ng-model
  4. ng-repeat
discuss
Which directive defines initial values for an AngularJS application?

Which directive defines initial values for an AngularJS application?


  1. ng-app
  2. ng-init
  3. ng-model
  4. ng-repeat
discuss
Write a statement with <div> element to initialize two variables (name and age)?

Write a statement with <div> element to initialize two variables (name and age)?


  1. <div ng-app="" ng-init="Name:'Alex';Age:21">
  2. <div ng-app="" ng-init="Name:'Alex',Age:21">
  3. <div ng-app="" ng-init="Name='Alex',Age=21">
  4. <div ng-app="" ng-init="Name='Alex';Age=21">
discuss
total MCQs: 65

MCQs

65

Views

89

Best Answers

299

Points

5