O'Reilly logo
  • hao wang thinks this is interesting:

The ngStyle directive is used to supply the dynamic style configuration demand. It follows the same concept used with the ngClass directive; however, here we can directly use the style properties and its values

From

Cover of AngularJS Essentials

Note

ngStyle 指令