I have one question...
Sure, that everybody know, that if you want conditional styling: you must use ng-class
or ng-style
construction.
But.
For example: i'm admin. And i want to change color of my application with custom color from colorpicker. How can i change some code in css?
for example i have this line in style.css
:
body{
background: #ffffff;
}
(also all tags like a, h1 etc implement some color)
and in controller i change this #ffffff
to #000000
.
what is the best way, to change this color in css, without using ng-class
or ng-style
on each tag in each controller?