Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Version 1.5.11 - Providers must be declared in correct sequence or injection fails #16363

Closed
@ceberz

Description

@ceberz

I'm submitting a ...

  • bug report
  • feature request
  • other

Current behavior:
Providers declared on the module must be declared in a sequence that fits their (non-cyclical) dependency graph.

Expected / new behavior:
Provider declaration order should not matter, as the declaration order for post-config entities (service, factory, etc) does not matter.

Minimal reproduction of the problem with instructions:
http://plnkr.co/edit/xfusk4lIevLngt7DAzQO?p=preview

AngularJS version: 1.5.11

Browser: [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Anything else:
I tried to find out whether or not this behavior is as intended by checking documentation, but couldn't find an answer.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions