rewrote application form by hand to take advantage of ngmessages and remove dependencies