angularjs: multiple values in a ng-switch-when

For angular >=v1.5.10,

You can do it by adding ng-switch-when-separator="|" to ng-switch-when node.
see example in documentation.

<span ng-switch-when="wrong|incorrect" ng-switch-when-separator="|">

see discussion here https://github.com/angular/angular.js/issues/3410
Note, based on my experience it doesn’t work with numbers…yet?

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)