Added functioning taskDetails Directive