$ionicSideMenuDelegate doesn't work in my Ctrl


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


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

is Something I am missing?


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