I have login component that redirect to inner page.

the inner page load css:

     styleUrls: 
['app/css/bootstrap-3.3.7-dist/css/bootstrap.min.css','app/main/master.component.css']

I have also logout button that redirect back to login page

   

     localStorage.removeItem("token");
         this.router.navigate(['/login']);

pressing the button is redirect to login page but the style of the inner 
page is stay on the login page too.

so i ended up with login page that has bootsrap css what is totally wrong.

How can I navigate to login page without keeping the inner component css?

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to