I am trying to conditionally apply a class to an element but I can't get the syntax correct
I have tried the following but it does not work.
ng-class="{foo: bar === "true"}"
bar is a boolean value.
Also, the element already has a class attribute. Will foo be appended to the list of classes?