angular-css
angular-css copied to clipboard
v1.0.8 bind css to directive on angular 1.6.5 not working???
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...