Edit in JSFiddle
JavaScript
HTML
Result
function DemoCtrl($scope) { }
<div ng-app> <div ng-controller="DemoCtrl"> </div> </div>