Edit in JSFiddle

var myApp = angular.module('myApp', []);

myApp.controller('MainCtrl', ['$scope', function ($scope) {
    
    $scope.text = 'Hello, Angular fanatic.';
    
}]);
<div ng-app="myApp">
    <div ng-controller="MainCtrl">
        {{ text }}
    </div>
</div>