I know how to react to user input in a textarea with ng-change in AngularJS. But how can I get the current input inside the Angular controller? I am missing something like <
angular.module('myApp', []) .controller('myCtrl', ['$scope', function($scope) { $scope.myFunc = function(vals) { console.log(vals); $("#result").html(vals); }; }]);
body{ background:#ffc10721; }
Write something in the Textarea Result :
Write something in the Textarea