castillo-io / angular-css

CSS on-demand for AngularJS [Looking for New Maintainers]
http://castillo-io.github.io/angular-css/#/
MIT License
470 stars 86 forks source link

Add hook #19

Open enricolucia opened 9 years ago

enricolucia commented 9 years ago

Just need to be cleaned up a bit. But it injects directly on uiRouter as well as ngRoute modules.

Let me know any thoughts about it.

alexcastillo commented 9 years ago

@enricolucia Thanks for the PR! I'll be testing it sometime this week.

enricolucia commented 9 years ago

@alexandercastillo Thanks to you! Just need to have a rethink about injecting resolves on uiRouter as I would like the have the them resolved before $stateChangeSuccess like ngRouter implementation does.

I will try to come up with something for that.