Here is my url
For Login - http://localhost/ang/#/login
For Dashboard - http://localhost/ang/#/dashboard
Here is my html for body tag
If this is current url is http://localhost/ang/#/login
then the body should have the class="login-layout"
tag i.e.,
<body ng-cloak="" class="login-layout>
else it should have
<body ng-cloak="" class="no-skin">
I tried to take do this in php by i can't take the url after #
like said here
Is this possible to do in AngularJS itself ?
Update :
I tried to do this in AngularJS
From the controller i can get the url after #
var nextUrl = next.$$route.originalPath;
but how can i change the class name..