Swipe left for page transition

Hi i’m trying to do swipe left for page transition using url but i can’t, actually i’m new in mobile apps and i don’t know how to do.

Thanks

I got it

html

<div  class="swipe" on-swipe-left="warn()"></div>

CSS

.swipe {
  background-color: blue;
  padding: 20px;
  color: white;
  height:200px;
}

JS

    app.controller('MenuCtrl', function ($scope) {
    $scope.warn = function (url) {
      window.location.href="#euquero";
    };
  });

window.location.href="#euquero";

here #euquero means ? state are any thing