Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

How to close a popover through another controller?

$
0
0

@Zahema wrote:

I was trying the popover as the example in here http://ionicframework.com/docs/api/service/$ionicPopover/

<ion-side-menu side="left" ng-controller="SideBarController">
<ion-content>
    <a href="#" class="item" ng-if="true" ng-click="openLogPop($event)">Login/Register</a>
</ion-content>
</ion-side-menu>

now in > SideBarController I have the pop over functions: open and close.
How could I close the pop over through anther controller, say the popoverController?
and how could I manage two pops from the same controller?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>