I seem to be encountering an error and I'm struggling to identify the cause. Is there something I overlooked?
js
var app = angular.module('Todolist', []);
app.controller('TasksCtrl', [
'$scope', function($scope) {
$scope.tasks = Task.query({
status: 'incompleted'
});
$scope.completed_tasks = Task.query({
status: 'completed'
});
}
]);
html
<div ng-controller='TasksCtrl' class='tasks-container'>
</div>