Open mr-mig opened 10 years ago
Why not make it a directive so that stylesheet injection become declarative and not imperative in the controller? Something like:
<ng-style src='css_from_current_module.css'><ng-style>
It's an interesting idea. You want to write the CSS dependencies directly in the view. My approach was to managing it with the route.
If someone pull a request I will accept it.
Why not make it a directive so that stylesheet injection become declarative and not imperative in the controller? Something like: