I am struggling with tweaking my Angular JS application.
There is the whole application where in the end I'd like to use my app.css
file as a style sheet. So each state like:
domain/#/articles
domain/#/articles/1
domain/#/users
domain/#/users/1
will use this file.
However I do have a cms section in my application (i.e. domain/#/cms/articles
and I'd like to use completely different styles there (nothing in common with app.css
). Is there anything I could do to easily load cms.css
for selected states and do NOT load app.css
there?
My initial idea was to add two style sheets in my index.html
file with either ng-if
or ng-show
for each but that's definitely not a good approach (most likely it wouldn't even work).