What are Modules in AngularJS

AngularJS modules are containers just like namespace in C#. They divide an angular app into small, reusable and functional components which can be integrated with other angular app. Each module is identified by a unique name and can be dependent on other modules. In AngularJS, every web page (view) can have a single module assigned to it via ng-app directive.

Using an AngularJS module into your app

You can bootstrap your app by using your AngularJS module as given below:

results matching ""

    No results matching ""