NativePageTransitions and loading dependencies with Angular in IonicFramework
<p>I've read this article: <a href="http://scottbolinger.com/4-ways-to-make-your-ionic-app-feel-native/" rel="nofollow noreferrer">http://scottbolinger.com/4-ways-to-make-your-ionic-app-feel-native/</a></p>

<p>I'm trying to run my app with native transitions but I can't seem to get them to work. I've added the library through js:</p>

<pre><code>&lt;script src="cordova.js"&gt;&lt;/script&gt;
&lt;script src="NativePageTransitions.js"&gt;&lt;/script&gt;

&lt;script src="js/app.js"&gt;&lt;/script&gt;
</code></pre>

<p>and this is my app.js:</p>

<pre><code>angular.module('starter', [
    'ionic-native-transitions'
])

angular.module('starter', ['ionic'])

.run(function($ionicPlatform) {
  $ionicPlatform.ready(function() {
    if(window.cordova &amp;&amp; window.cordova.plugins.Keyboard) {
      // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
      // for form inputs)
      cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);

      // Don't remove this line unless you know what you are doing. It stops the viewport
      // from snapping when text inputs are focused. Ionic handles this internally for
      // a much nicer keyboard experience.
      cordova.plugins.Keyboard.disableScroll(true);
    }
    if(window.StatusBar) {
      StatusBar.styleDefault();
    }
  });
})
</code></pre>

<p>If I run my app through the browser, I get the following error in the console:
<strong>"Cordova is not defined"</strong></p>

<p>Which should be fine, since cordova is only loaded through the phone app. </p>

<p>I also added this attribute in my anchor tag:</p>

<pre><code>&lt;a class="item item-thumbnail-left" native-transitions href="tipo_credito.html"&gt;
    &lt;img src="img/credito.jpg"&gt;
    &lt;h2&gt;Tipo de Credito&lt;/h2&gt;
    &lt;p&gt;Pantalla de Tipo de Credito&lt;/p&gt;
  &lt;/a&gt;
</code></pre>

<p>I need help, I don't get why this is still not working when I run it through an android app.</p>