Loading…

What is the module in AngularJS?

A module is a container for the different parts of the application like services, controller, filters, directives, etc. Module treats as a main() function. It is created using an object's module() method.

Example

                                        

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

Suggest An Answer

No suggestions avaliable!

Latest post from Angularjs Interview Questions

Ask Question