I am facing a tuff time in placing ng-if in ion-popover-view . I need to add 2 different popovers based on condition.For some reasons , its not accepting.
<ion-popover-view class=“moreInfoView” ng-if = "data.model==‘YES’>
<ion-header-bar>
<span>Hi</span>
</ion-header-bar>
<ion-content >
Hello
</ion-content>
<ion-popover-view class=“moreInfoView” ng-if = "data.model==‘NO’>
<ion-header-bar >
<span>Hi</span>
</ion-header-bar>
<ion-content >
Hello
</ion-content>