Help! Official doc contradicts the blog post about popovers!

What is going on with the docs about popovers on the official website’s docs? ( http://ionicframework.com/docs/api/service/$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!! ( http://ionicframework.com/blog/popover-support-landed/ )

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

Thanks!

EDIT nevermind I figured it out :
( http://codepen.io/anon/pen/exfqb?editors=101 )