Hi All,
Can anybody please give me some advice how I can create CSS and JS assets which can be loaded as I need it on specific controllers. I was thinking of creating a Shared service then inside this shared service create my assets and use the $this-> function in my controller to load a particular stylesheet but how exactly do I do that?
I just want to minimize code duplication as much as possible.
Thanks