$ionicSideMenuDelegate doesn't work in my Ctrl


#1

Hi,

I have tried following methods to get to know the status of status menu, but I am not getting any values from $ionicSideMenuDelegate.

$ionicSideMenuDelegate.getOpenRatio()
$ionicSideMenuDelegate.isOpen()

Added alert messages in the following code pen (Line number 46 in the js file)

is Something I am missing?

Thanks,
Venkat.


#2

Seems your using an older syntax and older version of ionic. Try again following this syntax.