How can I use ng-switch to satisfy multiple, same conditions?

后端 未结 3 839
被撕碎了的回忆
被撕碎了的回忆 2021-01-23 09:14

I want to create a piece of HTML with AngularJS based on the authentication status.

I use ng-switch.

The issue is that I want to have multiple hits

3条回答
  •  悲&欢浪女
    2021-01-23 09:51

    Angular 1.1.5 supports ng-if. You can look at that. Then you can have independent conditions.

提交回复
热议问题