Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Strict DI for adalAuthenticationService #31

Closed
damienpontifex opened this issue Nov 9, 2014 · 1 comment
Closed

Strict DI for adalAuthenticationService #31

damienpontifex opened this issue Nov 9, 2014 · 1 comment
Labels

Comments

@damienpontifex
Copy link

I am using ng-strict-di in my angular app. Upon startup, I get the following error with the library:

adalAuthenticationService is not using explicit annotation and cannot be invoked in strict mode

I thought it may be just a case of wrapping the function block inside an array, but other errors were caused by doing this (as so):

AdalModule.provider('adalAuthenticationService', [function () {
    return new AdalService();
}]);
@omercs
Copy link
Contributor

omercs commented Nov 25, 2014

This is fixed.

@omercs omercs closed this as completed Nov 25, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants