Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

login.html

<!doctype html>
<html ng-app = "Registration" >
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular.min.js"></script>
  </head>
  <body>
    <div>
      <label>First Name:</label>
      <input type="text" ng-model="First Name" placeholder="Enter a first name here">
      <hr>
       <label>Last Name:</label>
      <input type="text" ng-model="Last Name" placeholder="Enter a last name here">
      <hr>
       <label>Email_Id:</label>
      <input type="text" ng-model="Email_id" placeholder="Enter a your email here">
      <hr>
       <label>Password:</label>
      <input type="password" ng-model="Password" placeholder="Enter your password here">
      <hr>
       <label>Confirm Password:</label>
      <input type="password" ng-model="Confirm Password" placeholder="Confirm your password please">
      <hr>
     <div ng-controller="Submit">
         <button ng-click= "redirect()">Submit</button>
        <button ng-click= "cancel()">Cancel</button>
	</div>
	<script>
		var application =angular.module('Registration',[]);
		application.controller('Submit', function($scope)
		{
		    $scope.redirect = function(){
            window.location = "#/login.html";
				
			};
			$scope.cancel = function(){
				$scope.register = 'Cancel';
			};
						
		});
	</script>
    
    </div>
  </body>
</html>

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.