Unable to pass the data from view to the controller


#1

Hi,

I am trying to pass the data from my form to the controller but unable to pass the data. Here’s the code

The view code and controller code can be found at http://pastebin.com/hZeDrTpB
If I put the button inside ion-content then I can pass the value to the controller. Can someone let me know where I am going wrong.