Angularjs rewrite

Add, remove, sort for tasks.