Begin breaking out duplicate code into functions.
Merge branch 'master' of https://github.com/Plow74/SPANGULAR.git

Conflicts:
	src/main/webapp/resources/js/controllers.js
Moved input to a ng-form, giving it validation and the other form bells
and whistles. Messages have a timeout of 3 seconds. This is a temp fix.