title: FB.getLoginStatus returns 'unknown' after FB.logout
body: <p>FB.logout() returns 'unknown' status on completion as well as a delayed FB.getLoginStatus() after 10 seconds. Could someone tell me what I am doing wrong here? The console statements are printed so the angular functions are irrelevant.  </p>
  
  <pre><code>if (angular.element(document.getElementById('logout-button')).scope().userDetails.facebookUser) {
  
      FB.logout(function(response) {
          console.log(response);
          setTimeout(function () {
              FB.getLoginStatus(function(response1) {
                  console.log(response1);
                  console.log("checking login status");
                  angular.element(document.getElementById('logout-button')).scope().logout();
              })
          }, 10000)
      });
  
  }
  </code></pre>