title: Ionic Framework page transition direction
body: <p>I'm using Ionic Framework with Angularjs for my app, but I'm getting stuck on the page transitions.</p>
  
  <p>The app is for iOS and the back button gives the direction as forward. Is it possible to set the direction with javascript / Angularjs?</p>
  
  <p>Here is part of my page config. </p>
  
  <pre><code>.config(function ($stateProvider, $urlRouterProvider) {
      $stateProvider
  
          .state('app', {
              url: "/app",
              abstract: true,
              templateUrl: "templates/menu.html",
              controller: 'AppCtrl'
          })
          .state('app.dashboard', {
              url: "/dashboard",
              views: {
                  'menuContent': {
                      templateUrl: "templates/dashboard/dashboard.html"
                  }
              }
          })
          .state('app.DLRlogin', {
              url: "/DLR_login",
              views: {
                  'menuContent': {
                      templateUrl: "templates/dlr/dlr_login.html"
                  }
              }
          })
          .state('app.search_phone', {
              url: "/search_phone",
              views: {
                  'menuContent': {
                      templateUrl: "templates/search_phone/search_phone.html"
                  }
              }
          })
  </code></pre>
  
  <p>When the user goes from Dashboard to a page the transition goed forward, which is good, but the back button also gives a forward transition.</p>