I would like to do the following:
ng-style="{ 'width': iconWidth(), 'height': height }"
iconWidth
being a function and height
being a string. I would like to keep the ng-style syntax and not bind the ng-style to an entire object (not ng-style="css"
.
Thanks for your help.
This issue has been fixed by fixing a digest synchronization problem.