title: Facebook Account Kit show in ionic popup
body: <p>I made FB account Kit login with sms and it works fine. But when I run it on device the popup with phone number entery wont show up. When I test it in browser it works fine and the pop up is opened but on mobile it wont open.
  <strong>My function is here:</strong> </p>
  
  <pre><code>$scope.loginWithSMS = function($ionicPopup) {
  
  
  
        AccountKit.login("PHONE",{}, loginCallback);
  
        function loginCallback(response) {
                console.log(response);
                if (response.status === "PARTIALLY_AUTHENTICATED") {
                  document.getElementById("code").value = response.code;
                  document.getElementById("csrf_nonce").value = response.state;
                  document.getElementById("my_form").submit();
                }
                else if (response.status === "NOT_AUTHENTICATED") {
  
                }
                else if (response.status === "BAD_PARAMS") {
  
                }
              }
        }
      $scope.submit = function(){
          $scope.data = {};
          $http.post(app4travel.apiUrl + '/register_mobile')
            .success(function(response, status, headers, config) {
              console.warn('Sent')
              console.warn(response)
              console.warn(status)
              $scope.response = response.data;
          })
      }
  </code></pre>