3 Answers
3

The usage of ng-style is slightly counter-intuitive. You're attempting to use it to interpolate values, but per the Angular documentationng-style takes an expression "which evals to an object whose keys are CSS style names and values are corresponding values for those CSS keys."