implementation of first AngularJS controller for Tasks View