AngularJS-ification of the Web front-end.

This seems to bring parity of functionality, with less boilerplate.

I also took the liberty to change the `/query` endpoint slightly, to avoid duplicating some logic in there.

/cc @sosedoff .. btw, thanks for starting this :)
Why not use 1.3 version? It's got some pretty nice update including the bindonce expression. See http://swirlycheetah.com/native-bind-once-in-angularjs-1-3/
Perfect for oneway binding app such as this one.