(PCC)::[how-to-make-a-simple-AngularJS-Expression-using-a-variable-with-output]::[angularjs]
<!DOCTYPE html> <html> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script> <body> <div ng-app=""> <p>Input something in the input box:</p> <p>Name: <input type="text" ng-model="name"></p> <p>{{name}}</p> </div> </body> </html>
Input something in the input box:
Name:
{{name}}