Help! Official doc contradicts the blog post about popovers!

What is going on with the docs about popovers on the official website’s docs? ($ionicPopover/ ) - This does not work,… it gives an error on the “.then” method.

The instanciation and initialization is completely different from the blog post about popovers!! ( )

Any ideas / suggestions ?? Would be nice to specify that the parent scope is $scope rather than $rootscope !


EDIT nevermind I figured it out :
( )