title: Using Bootstrap Modal in Single Page AngularJS app
body: <p>I have a single page app in AungarJS made using <code>ui.router</code> and I want to integrate Bootstrap Modals in my app from this link: </p>
  
  <p><a href="http://angular-ui.github.io/bootstrap/#/getting_started" rel="nofollow">http://angular-ui.github.io/bootstrap/#/getting_started</a></p>
  
  <p>But so far my integration has failed severely. That's because the link says that in case of UI Routers I need to <code>$uibResolve.setResolver('$resolve')</code> in configuration. But using <code>$uibResolve</code> gives injection error. </p>
  
  <p>My question: how can I integrate Bootsrap Modals in aforementioned link in my single page app?</p>