×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which is the correct syntax to create a module?

12. 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", []);

Answer: A) var variable_name = angular.module("app_name", []);

Explanation:

The correct syntax to create a module using the angular.module is:

var variable_name = angular.module("app_name", []);

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.