Ionic native transitions not working
<p>The transitions are not working. </p>

<p>I am using <a href="https://github.com/shprink/ionic-native-transitions" rel="nofollow">https://github.com/shprink/ionic-native-transitions</a>. </p>

<p>I added the files, I added 'ionic-native-transitions' in my app.js </p>

<p>What I am trying to do is to change the transition when navigating between two pages. </p>

<p>In page 1: I have a list</p>

<pre><code>&lt;div class="item item-text-wrap" ng-click="post($event,res)"  ng-repeat="res in result " &gt;....
</code></pre>

<p>and when an item is clicked, </p>

<pre><code> $scope.post =  function($event, res){
    console.log(angular.element($event.target).parent());
    dataShare.sendData(res)

    $state.go('Details')

     window.plugins.nativepagetransitions.slide(
    {"direction":"up"},
    function (msg) {console.log("success: " + msg)}, 
    function (msg) {alert("error: " + msg)}
  );

  }
</code></pre>

<p>What happens is that it goes to page 2. But there is no error and in the console I get this error </p>

<blockquote>
  <p>Cannot read property 'nativepagetransitions' of undefined</p>
</blockquote>