<!DOCTYPE html> <html> <script src="http://www.sargonco.com/Uploads/Public/article/webdistut/javascript/angular.min.js"></script> <body>
<div ng-app="" ng-init="firstName='John';lastName='Doe'">
<p>The full name is: <span ng-bind="firstName + ' ' + lastName"></span></p>
</div>
</body> </html>
The full name is: