Updated html and angular scripts to work with servlets.