I'm trying to change the font-style of an element when a variable is true.
In my controller, there's a variable which returns its value. Now I want to change the font-style based on the return value. This should happen via ng-style.
Already searched the internet for it. W3 schools and everything but it doesn't work.
Could somebody please give me an example or some useful tutorial or tips to help?
Thanks in advance.