Add AngularJS framework.

This is a huge improvement on the front end, and it drastically
simplifies the Javascript.