Work in progress with getting things wired into AngularJS.

W.I.P. [ci skip]