Popover on ng-init

The documentation says you need to pass an $event to open the popover, and the examples point to ng-click. But if i want the popover to show on ng-init of the view, $event is undefined. How can I show the popover when the view loads?

you can use this in the controller:

ionic.Platform.ready(function () {
// open it here

No, you can’t. You need to pass an $event param to popover or else it doesn’t work.