angular-css icon indicating copy to clipboard operation
angular-css copied to clipboard

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

Open soonwait opened this issue 7 years ago • 0 comments

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

soonwait avatar Aug 09 '17 03:08 soonwait