implemented reset form function in create controller
updated form directive template