Added angularjs, added input validation

Added angularjs controllers handling form submit, added form input
validations.