add angular ui.bootstrap, move partials to template/, more UI cleanup