What is the proper way to get the value of a textarea using ng-model and $scope? I cant seem to get it working…
I got this and the $var is undefined…:
$scope.$on('$ionicView.leave', function(){
$var = $scope.testing;
});
and I got this:
<textarea ng-model="testing"></textarea>