function in module ng
The angular.module is a global place for creating, registering and retrieving Angular modules. All modules (angular core or 3rd party) that should be available to an application must be registered using this mechanism. Passing one argument retrieves an existing angular.Module, whereas passing more than one argument creates a new angular.Module Module A module is a collection of services, directives, controllers, filters, and configuration information. angular.module i