correctly wiring up angular ui bootstrap