title: ionic and $cordovaPush
body: <p>i'm new here :D</p>
  
  <p>I has the next code: </p>
  
  <pre><code>alert('hi');
  $cordovaPush.register(config).then(function (result) {
    alert('push' + result);
  }, function (err) {
     alert('error);
  });
  alert('bye');
  </code></pre>
  
  <p>And when I go to Ionic View I get the alerts: "hi" and "bye", BUT never the "push" or "error"... </p>
  
  <p>I install:</p>
  
  <pre><code>ionic plugin add https://github.com/phonegap-build/PushPlugin
  </code></pre>
  
  <p>and I put the ng-cordova.js and PushNotification.js in the index...</p>
  
  <p>What happened? </p>
  
  <p>Thanks!</p>