I have four pages, when the application url is typed and entered, it must show a loader or spinner before the login page loads.
Likewise, the loader must show before each and every page loads.
<!DOCTYPE html>
<html>
<head>
<base href="/" />
<link rel="icon" href="../Styles/images/icons/logo1.png" />
<title>SSIS Warehouse</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.7.8/angular.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.3.0/Chart.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular-chart.js/1.0.3/angular-chart.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.8/angular-route.min.js"></script>
<script src="https://cdn.jsdelivr.net/ngstorage/0.3.6/ngStorage.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angucomplete-alt/3.0.0/angucomplete-alt.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
<script data-require="modernizr@*" data-semver="2.6.2" src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
</head>
<body ng-app="myApp">
<div ng-view></div>
<script src="EBSAjsN/app.module.js"></script>
<script src="EBSAjsN/app.config.js"></script>
<script src="EBSAjsN/Scripts/loginController.js"></script>
<script src="EBSAjsN/Scripts/dashboardController.js"></script>
<script src="EBSAjsN/Scripts/receiptController.js"></script>
<script src="EBSAjsN/Scripts/issueController.js"></script>
</body>
</html>