App.controller('todoController', function ($scope) {
// create a message to display in our view
$scope.todos = [{ name: 'angular', done: false }];
$scope.clearTodo = function () {
$scope.todos = _.filter($scope.todos, function (todo) {
return !todo.done;
});
};
});
I encountered an issue where the symbol "_" cannot be found. Any suggestions on what I need to add? Thank you!