I am very very new to all things ionic and angular.
I am trying to have an input box and I want to access what I type into it.
<div class="item item-input" ng-show="shownewpostbox"> <input name = "mypost" id = "mypost" type = "mypost" ng-model = "mypost"> </div>
As far as I can tell from online resources, I should be able to access what is typed into the text box through $scope.mypost in my controlller. But that is not working… Any advice?