<body ng-app="myApp">

	<div ng-controller="MainController">
<h1>{{ message }}</h1>

		<input type="text" ng-model="name">
		<h3>Hello : {{ name }}</h3>
	</div>

</body>
function mainController($scope) {
  $scope.message = "Hello AngularJS";
  $scope.name = '';
};

angular.module('myApp', [])
  .controller('MainController', mainController);

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.14/angular.min.js