I’m still new to working with Ionic, so I’m sure this is something I’m doing wrong. Working with a Phonegap project using Ionic 1.0.0b3, I’m trying to figure out how to add tap events on a button. I’ve tried a few things but can’t get the tap event to trigger. I can’t find any clear documentation on setting up gestures so I feel a little blind working through this.
At the most basic, here’s an example of what I tried:
From what I’ve seen, I thought angular/Ionic automatically bound events on anything with ng-click, but nothing I try gets it working. I’ve also tried a few things to bind on the element directly but can’t seem to get it.