Currently facing a challenge that has left me a bit stumped... I'm currently developing an Angular application that requires certain fields to be colored based on values stored in an XML file on the server. These colors are configured through an external application.
My plan is to read the XML file, convert it into JSON, and then send it back to my application using a webservice. I intend to utilize a JSON to CSS library to generate CSS classes based on the JSON data.
My main question is: How can I ensure that my Angular app reads and applies the CSS classes generated from the JSON file? Upon app initialization, I make a call to the webservice, and by the time the application loads, I should have the necessary CSS styles...The issue is, I'm unsure how to instruct Angular to recognize and implement these new CSS classes.