title: Allow call (and maps, and mail) in cordova
body: <p>I've been struggling with this for a while. I'm trying to make a call after people press 'Call' from a popup. Funny thing is, that it goes straight to calling when they click the phone number. But when they hit 'Call', console returns:</p>
  
  <p><code>ERROR Internal navigation rejected - &lt;allow-navigation&gt; not set for url='tel:06-83237516</code></p>
  
  <p>Code:</p>
  
  <p>Controller:</p>
  
  <pre><code>$scope.callPerson = function() {
      var link = "tel:" + $scope.person.phonenumber;
      var confirmTel = $ionicPopup.confirm({
          title: $scope.person.phonenumber,
          cancelText: 'Cancel',
          okText: 'Call'
      });
      confirmTel.then(function(res) {
          if (res) {
              window.open(link);
          } else {
              console.log('cancel call');
          }
      });
  }
  </code></pre>
  
  <p>Config.xml:</p>
  
  <pre><code>&lt;access origin="*"/&gt;
  &lt;allow-intent href="tel:*"/&gt;
  &lt;allow-intent href="mailto:*"/&gt;
  &lt;access origin="tel:*" launch-external="yes"/&gt;
  &lt;access origin="mailto:*" launch-external="yes"/&gt;
  </code></pre>
  
  <p>html:</p>
  
  <pre><code>&lt;div ng-click="callPerson()"&gt; {{person.phonenumber}}&lt;/div&gt;  
  </code></pre>
  
  <p>With Mail, it doesn't work at all, and returns an identical error.
  Same for opening maps. It does work in the PhoneGap test app, but not when deployed.</p>
  
  <p>Maps code:</p>
  
  <pre><code>$scope.openmaps = function() {
      var address = $scope.person.adres + ", " + $scope.person.plaats;
      var url = '';
      if (ionic.Platform === 'iOS' || ionic.Platform === 'iPhone' || navigator.userAgent.match(/(iPhone|iPod|iPad)/)) {
          url = "http://maps.apple.com/maps?q=" + encodeURIComponent(address);
      } else if (navigator.userAgent.match(/(Android|BlackBerry|IEMobile)/)) {
          url = "geo:?q=" + encodeURIComponent(address);
      } else {
          url = "http://maps.google.com?q=" + encodeURIComponent(address);
      }
      window.open(url);
  };
  </code></pre>