Using jQuery
$(document).ready(function() {
$("#pid1").removeClass("login_page");
});
HTML
<body class="login_page" id="pid1" ng-app="myApp" ng-controller="myCtrl">
In the main page class gets removed but login page also remove class but I have to keep the class in the login page.
loginpage.html
<div class="login_page">
</div>
when I add remove class function it's work and I have tried to keep the login_page class in loginpage.html.
login_pageclass for body where id='pid1' and not from others right? but that id is getting repeated in some other pages?idin your login page. Or write your script only in the main page.