castillo-io / castillo-io/angular-css

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

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
464
Forks
84
PR merge metrics
No merged PRs in 30d

Description

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...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.