Very rough AngularJS / Bootstrap client code