angularjs and ui.router bootstrapping