Proper way to use $ionicHistory.currentTitle()


#1

Hi there,

What is the proper way to use $ionicHistory.currentTitle(), I have created a sample here http://codepen.io/anon/pen/wBooqm , $ionicHistory.currentTitle() is always undefined.