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

when ng-strict-di an error occurs and no date picker appears #4

Closed
dzincolorado opened this issue Aug 13, 2015 · 0 comments
Closed

Comments

@dzincolorado
Copy link

It's related to using implicit DI on the directive. Making the change so that the following line:

angular.module("mightyDatepicker").directive("mightyDatepicker", function($compile) {
...
})

becomes:

angular.module("mightyDatepicker").directive("mightyDatepicker", ['$compile', function($compile) {
...
}])

fixes the error.

jandudulski added a commit that referenced this issue Oct 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant