Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.0.8 bind css to directive on angular 1.6.5 not working??? #85

Open
soonwait opened this issue Aug 9, 2017 · 0 comments
Open

v1.0.8 bind css to directive on angular 1.6.5 not working??? #85

soonwait opened this issue Aug 9, 2017 · 0 comments

Comments

@soonwait
Copy link

soonwait commented Aug 9, 2017

I found this
then i had debug(trace) line by line,
finally, i find out the reason in

/**
   * AngularJS hack - This way we can get and decorate all custom directives
   * in order to broadcast a custom $directiveAdd event
   **/

because the statement $directives.push({ ddo: directive, handled: false }); in module.directive and module.component occur after angular.forEach($directives, function ($dir) { which in module.config(['$provide','$injector'

MAY BE the truly reason is: angular-async-loader and angular-css is conflict ???

By the way, in this porject we using RequireJS and AngularJS together, by angular-async-loader...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant