Edit in JSFiddle

function myCtrl($scope) {
    $scope.greeting = 'Hello, World!';
}
<div ng-app>
    <div ng-controller="myCtrl">{{ greeting }}</div>
</div>