refactored create and update views using ng-include