angularjs if statements?

后端 未结 8 1816
暖寄归人
暖寄归人 2021-01-04 20:06

So I\'m running through the tutorial for AngularJS:

I have an array defined in the controller and i\'m returning different points in the array by calling when i\'m l

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-04 20:24

    Actually there is a ternary operator in Angular 1.2.0.

    {{feature.description}}

提交回复
热议问题