You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed when I mix ng-class with class + expression (class="something-{{data}}"), if the expression fails to return anything (does not exist for example), than the ng-class will not get compiled at all.
Also, it only happens when the broken expression is in the middle of the class<div class="stuff-{{ok}} another-{{nothing}} third-{{ok}}"></div>.
I noticed when I mix
ng-classwithclass + expression(class="something-{{data}}"), if the expression fails to return anything (does not exist for example), than theng-classwill not get compiled at all.Also, it only happens when the broken expression is in the middle of the
class<div class="stuff-{{ok}} another-{{nothing}} third-{{ok}}"></div>.Here is fiddle example: http://jsfiddle.net/seefeld/4z4s4hhs/6/