Angular How To Avoid Using Function In Ngstyle Or Ngclass Stack

Angular How To Avoid Using Function In Ngstyle Or Ngclass Stack