AngularJs Modules. A module in AngularJS can be thought of as packages in Java. It’s the container for the different parts of an application – controllers, services, filters, directives, etc. AngularJS can group together certain functionalities/Javascript under a single module. A module can define it’s own controllers, services, filter, directives, etc which will be accessible throughout the module. A module can depend on other modules. A module can be used by AngularJS to bootstrap an application. By passing the module name to ng-app directive, we can tell AngularJS to load this module as the main entry point for the application. In angularJS, a module is defined or called using angular.module function. Define a Module with no dependencies angular.module('myapp', []); The first argument is the module name, ‘myApp’. The second argument is an array of module names that this module depends on. Empty square brackets denotes that this module does not hav...