<html ng-app="tasksApp">
<head>
	<script src="javascripts/angular/angular.js"></script>
	<script src="javascripts/taskcontroller.js"></script>	
</head>
<body ng-controller="TaskController as taskController">
	Tasks: {{taskController.getTasks().length}}
	
	<p></p>
	Task name: <input ng-model="taskController.newTask"></input>
	<input type="submit" ng-click="taskController.addATask();"></input>
	
	<table>
		<tr><th>Name</th></tr>
		<tr ng-repeat="task in taskController.getTasks()"><td>{{task}}</td></tr>
	</table>
</body>
</html>