I have an angular js app with an index.html page that loads all the scripts and a default header present in all the views. Here is my index.html:
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<!-- build:css(.) styles/vendor.css -->
<!-- bower:css -->
<link rel="stylesheet" href="bower_components/angular-material/angular-material.css" />
<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.css" />
<!-- endbower -->
<!-- endbuild -->
<!-- build:css(.tmp) styles/main.css -->
<link rel="stylesheet" href="styles/main.css">
<!-- endbuild -->
</head>
<body ng-app="pcrApp">
<md-toolbar ng-controller="HeaderCtrl" role="navigation" layout="row">
<div layout-align="left center" flex="15" hide-sm>
<md-button id="jdpa-logo" ng-href="#/list" ng-click="resetSelectedIndex()">J.D. Power PCR Admin Tool</md-button>
</div>
<md-tabs md-selected="data.selectedIndex" layout="row" layout-align="left center" flex>
<md-tab id="tab-list" flex-sm="5" label="Study PCRs"></md-tab>
<md-tab id="tab-new" flex-sm="5" label="Create New"></md-tab>
</md-tabs>
</md-toolbar>
<div ng-view=""></div>
<!-- Google Analytics code should be added here -->
<!-- JavaScript libraries are included here -->
<!-- Angular scripts are loaded here -->
</body>
</html>
The header code is shown below:
<md-toolbar ng-controller="HeaderCtrl" role="navigation" layout="row">
<div layout-align="left center" flex="15" hide-sm>
<md-button id="jdpa-logo" ng-href="#/list" ng-click="resetSelectedIndex()">J.D. Power PCR Admin Tool</md-button>
</div>
<md-tabs md-selected="data.selectedIndex" layout="row" layout-align="left center" flex>
<md-tab id="tab-list" flex-sm="5" label="Study PCRs"></md-tab>
<md-tab id="tab-new" flex-sm="5" label="Create New"></md-tab>
</md-tabs>
</md-toolbar>
After the header, the templates are loaded using:
<div ng-view=""></div>
If I want to disable the header for a login page, how can I achieve this?