File manager - Edit - /home/autoph/public_html/ahglegal/ajs/controller.js
Back
var ap=angular.module('mainApp',['ngRoute']); app.config(function($routeProvider){ $routeProvider .when('/',{ templateUrl: 'login.html' }) .when('/dashboard',{ templateUrl: 'dashboard.html' }) .othewise({ redirectTo: '/' }); }); app.controller('loginCtrl', function($scope, $location){ $scope.submit = function(){ var uname = $scope.username; var password = $scope.password; if($scope.username=='admin' && $scope.password =='admin'){ $location.path('/dashboard'); } }; });
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings