setup the ui-router and some partials