I have the following html:
<!DOCTYPE HTML>
<html>
<head>
<title>Basic</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.js type="text/javascript">
</script>
</head>
<body>
<div ng-app="myApp">
<input ng-model="to" type="email"
placeholder="Recipient here.."/>
<textarea ng-model="emailBody"
placeholder="Email body here..">
</textarea>
<h2> {{ emailBody }} </h2>
</div>
</body>
</html>
I am referencing the emailBody data from the textArea but it doesn't bind the data associated. it just types {{ emailBody }} literally.
What am I doing wrong?