表达式的三元操作

{{bool?(bool2?'真1':'真2'):'假'}}

ng-model

ng-bind

ng-repeat

name age
{{arr.name}} {{arr.age}}

ng-show

{{name}}

{{name}}

ng-hide

{{name}}

{{name}}

ng-switch

a

b

c

d

ng-if

1

2

ng-style

red

red

ng-class

red

red

ng-src

ng-href

a