Included updated form validation for answer page

Form validation is now done by angularjs before passing the inputs
to the server.