Dom manipulation on tap?


See :

I’ve tried using a directive and added it to the ‘click’ and ‘touchstart’ event but I understand that Ionic’s ng-click is a neat solution to remove any lags/issues. How can I make use of that with a directive?


Should I just add a true/false value to my directive and control the value from my controller? (on click?). Is that ok for performance?