Tree view for tasks & sub tasks angular directive