title: redirect login page to welcome page from angularjs
body: <p>I am creating s web app in which i need to redirect from login to welcome page if my user id and password validated</p>
  
  <pre><code>    &lt;script&gt;
      var app = angular.module('myApp', []);
      app.controller('customersCtrl', function ($scope, $http, $interval) {
          //login
          $scope.loginbutton = function () {
              $http.get('/login.asmx/loginuser', {
                  params: {
                      log: $scope.log,
                      pm: $scope.pm,
                      password: $scope.password
                  }
              })
              .then(function (response) {
                  {
                     //here i want to redirect to another page
                  }
              })
          }
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>this is my script of angularjs how i redirect the page to another page?</p>