How to write text in input box using and show the text as I type in AngularJS

1 Answer

0 votes
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<body>

<div ng-app="">
<p>Write text in input box:</p>
<p>Text: <input type="text" ng-model="txt"></p>
<p ng-bind="txt"></p>     
</div>        

</body>
</html>

 



answered May 13, 2017 by avibootz
edited May 13, 2017 by avibootz

Related questions

1 answer 252 views
1 answer 299 views
2 answers 307 views
...