Edit in JSFiddle

var app = angular.module('MyApp', []);
app.controller('MyController', function($scope) {
  $scope.message = 'You are awesome!';
});
<body ng-app="MyApp">
  <div ng-controller="MyController">
     <h1>{{message}}</h1>
  </div>  
</body>