added reset button & shifted functionality of ng-submit directive to ng-click