using ng-model for input
parent tasks