Use property of service in template

Hello,

I wrote a service for setting styles. I need this to change dynamically some styles.
Some of my pages inject this service to get the current style.
In my template I make this
[ngClass]="StyleService.getCurrentStyle"
This doesn’t work because StyleService is undefined in template.