<div ng-class="{expression}">. The Angular docs on this one kind of suck, but you can use conditional syntax like Ruby's shorthand statement modifiers:.
確定! 回上一頁