<!doctype html>
<html lang="en" ng-app>
<head>
<meta charset="utf-8">
<title>My HTML File</title>
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="css/app.css">
<script src="bower_components/angular/angular.js"></script>
<script>
var DemoCtrl = function($scope){
$scope.name = 'world';
}
</script>
</head>
<body>
<div ng-controller='DemoCtrl'>
<p>Hello {{name}}</p>
<p>1 + 7 = {{1+7}}</p>
</div>
</body>
</html>
var myApp = angular.module('myApp', []);
myApp.controller('MyCtrl', function ($scope) {
...
});
ng-app="myApp"