SyntaxFix
Write A Post
Hire A Developer
Questions
In your template, you have access to all the variables that are members of the current $scope. So, tobedone should be $scope.tobedone, and then you can display it with {{tobedone}}, or [[tobedone]] in your case.
$scope
tobedone
$scope.tobedone
{{tobedone}}
[[tobedone]]