Angular Change Css Class Property Dynamically Typed Vs Statically Typed