Home  >  Forum  >  Angular
Post New Query

how to display the current path , in which page and option current we are in



Asked on September 30, 2018
how to display the current path , in  which page and option current we are in



Replied on October 01, 2018
Try

   constructor(@Inject(DOCUMENT) private doc) {
      console.log(doc.URL);    
   }




Replied on December 09, 2018
The path needs to display in the response page not in the console

Write Answer




©2019 concretepage.com | Privacy Policy | Contact Us