NIELIT O Level Exam

A module in Angular.js can be created using:

A module in Angular.js can be created using:


A. angularjs.module

B. module.angular

C. angular.modules

D. angular.module




Correct Answer is :

D. angular.module



Explanation

In AngularJS, you can create a module using the angular.module function. The angular.module function is used to define a new module or retrieve an existing module. Here's the basic syntax for creating a module:

var myApp = angular.module('myApp', []);

Latest Current Affairs 2024 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