title: How to return observable from subscribe
body: <p>I'm trying to return an observable when I get a certain value in a subscriber, but I fail miserably. </p>
  
  <p>This is the code:</p>
  
  <pre><code>canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot):Observable&lt;boolean&gt; {
      // get route to be activated
      this.routeToActivate = route.routeConfig.path;
  
      // get user access levels        
      return this._firebase.isUserAdmin          &lt;-- returns Subscription, not Observable
          .map(user =&gt; user.access_level)
          .subscribe( access =&gt; {
             // I need to return an observable here
          });
  }
  </code></pre>
  
  <p>There are not many resources on observables in angular 2, so I don't know where to start. Can anyone help with this please?</p>
  
  <p><strong>UPDATE -> Working Version</strong></p>
  
  <pre><code>canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot):Observable&lt;boolean&gt; {
              // get route to be activated
              this.routeToActivate = route.routeConfig.path;
  
              // get user access levels        
              return this._firebase.isUserAdmin
                  .map(user =&gt; {
                      let accessLevel = user.access_level;
  
                      if (accessLevel === 'admin' ) {
                          return true;
                      }
  
                  }).first();
          }
  </code></pre>