Skip to content

Create custom modules and add in app module is support in new version of angularjs? #760

@RiteshSolanki1987

Description

@RiteshSolanki1987

Create custom modules and add in app module is support in new version of angularjs?
I am using v1.5.8 version of angular js.

Example :

(function () {
'use strict';

angular.module('app', [
    /*
     * Order is not important. Angular makes a
     * pass to register all of the modules listed
     * and then when app.dashboard tries to use app.data,
     * its components are available.
     */

    /*
     * Everybody has access to these.
     * We could place these under every feature area,
     * but this is easier to maintain.
     */
    'app.core',

    /*
     * Feature areas
     */
    'app.sessionStart'
]);

})();

(function () {
'use strict';
angular.module('app.sessionStart', []);
})();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions