title: Redirect to another web page
body: <p>I am trying to redirect a WebPage into another .HTML page on button click using <code>$location.path('/Views/Home.html');</code> but its not happening . The URL is getting changed into the browser but the page is not redirecting..Here is my AngularJS code..</p>
  
  <pre><code>app.controller('LoginformController', function ($scope,$location) {
  
  $scope.LoginCheck = function () {
  
  alert("Trying to login !");
  
  $location.path('/Views/Home.html');
  
  }
  
  scope.PasswordRecovery = function () {
  alert("Clicked 2");
  }
  });
  </code></pre>
  
  <p>I am getting both the alert functions but not getting the page redirection.Please help..</p>