1.

What is the module in AngularJS?

Answer»

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', []);



Discussion

No Comment Found