Skip to content

Circular dependencies #176

Description

@stevenvachon

By defining a service recipe in the "module" file, the result can be a circular dependency:

(A.module.js)

import AService from './A.service';
import BModule from 'app/B/B.module';

export default angular
    .module('A', [BModule])
    .service('AService', AService)
    .name;

(B.module.js)

import AModule from 'app/A/A.module'; // will be `undefined`
import BService from './B.service';

export default angular
    .module('B', [AModule])
    .service('BService', BService)
    .name;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions