Ng-focus/ng-blur doesn't work on ion ion-item?


#1
  <ion-item menu-close ng-click="login()" ng-focus="show()" ng-blur="hide()">
          <i class="ion-ios-home-outline"></i>
        </ion-item>

And the functions should alert the message !

  $scope.show=function(){
    alert('focus working');
  }
  $scope.hide=function(){
   alert('blur working');
}

But for some reason this does not work !

ng-focus does not work on ion-item ?

Help is appreciated !


#2

here is a fiddle for ng-focus, ng-blur

http://jsfiddle.net/deathhell/UTn5y/2/


#3

Thanks for the reply !

But this its not what i wanted !

ng-focus on inputs work well for me !

I am specifically talking about focusing <ion-item> !

PLUS i want focus and blur actions in the controller !

thanks again for help