Writing to NFC media with Ionic/PhoneGap/ngCordova

Hi guys,

I am trying to create a simple Android app to write text to an NFC enabled tag/sticker. There are hundreds on the market already but I am trying to learn more about NFC and using Ionic (so why not do both at the same time? Seriously, that was half rhetorical…).

Currently, I’m using https://github.com/don/ionic-nfc-reader as a general guide as I a completely new to AngularJS too, so the whole JS aspect is fairly new to me too.

How might I template the NFC event handler to, for example, on an ng-click event write a message to the discovered tag from the NFC event?

Thank you all in advance for your help!