title: Using Resolve In Angular2 Routes
body: <p>In Angular 1 my config looks like this:</p>
  
  <pre><code>$routeProvider
    .when("/news", {
      templateUrl: "newsView.html",
      controller: "newsController",
      resolve: {
          message: function(messageService){
              return messageService.getMessage();
      }
    }
  })
  </code></pre>
  
  <p>How to use resolve in Angular2?</p>