title: Angular2 - turn 'activatedRoute.params' into promise
body: <p>I am trying to turn the observable for params that I get off of the <code>ActivatedRoute</code> into a promise but haven't had any luck.  I have been able to turn <code>http</code> requests into promises successfully: </p>
  
  <pre><code>this.riaService.getAdvisorsForState(this.activeState)
      .then(rias =&gt; {
          this.riasForState = rias.json();
          console.log(this.riasForState);
      });
  // this all works ^
  </code></pre>
  
  <p>But I have not been able to turn the 'activatedRoute.params' into a promise:</p>
  
  <pre><code>export class InvestmentAdvisorStateComponent implements OnInit {
  
      constructor(private activatedRoute: ActivatedRoute, private riaService: InvestmentAdvisorService) { }
  
      getStateFromUrl() {
          this.activatedRoute.params
              .toPromise()
              .then(params =&gt; {
                  console.log('HERE',params)
              });
      }
  // this does not work for me ^
  </code></pre>
  
  <p>This is what I have right now:</p>
  
  <pre><code>getStateFromUrl() {
      this.activatedRoute.params
          .subscribe((param: any) =&gt; {
              this.activeState = param['state'];
          });
  }
  // works ^
  </code></pre>
  
  <p>I am hoping to implement this as a promise thought so I can <code>.then</code> off of it.  Any help on how to do this is greatly appreciated.</p>