You are on page 1of 1

<html>

<head>
<title>Sample code1 angular js</title>
<script
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"
type="text/javascript"></script>
</head>
<body >

<h1>Sample code1 angular js</h1>


<div ng-app="" >
<!--//for controlles-->
<input type="text" name="name" id="name" placeholder="enter your name" ng-
model="name" required>
<!--//for binding the value-->
welcome <span ng-bind="name">

</span>
</div>
</body>
</html>

You might also like