title: Angular2 AuthGuard e.create is not a function
body: <p>I'm experiencing a rather strange problem with authentication.
  Currently, my auth guard checks to see if i am indeed authenticated. If so, it should navigate to the dashboard route.
  So what happens is that I am definitely checking if i am logged in. However on the actual client page itself, the console returns an "e.create is not a function typeError". I have no idea why it does that.</p>
  
  <pre><code>canActivate(): Promise&lt;boolean&gt; {
      return new Promise&lt;boolean&gt;((resolve, reject) =&gt; {
          this.wiUser.isAuthenticated().then(status =&gt; {
              if (status) {
                  console.log("maybe i'm here?");
                  this.router.navigate(['/dashboard']);
                  console.log("but maybe i'm here?");
                  resolve(false);//false
              } else {
                  resolve(true);
              }
          }).catch(error =&gt; {
              console.log("if i get rejected do i end up here?");
              resolve(false);
          });
      });
  }
  </code></pre>
  
  <p>More specifically, calling resolve(false) gets me that error. Everything else above resolve(false) gets printed, leaving me to suspect it has something to do with resolve(false)</p>