Use ng-switch instead ng-if