Hi,
When try get url path (home.html or page.html) with
var url = $location.path();
on my current path in browser add this #/home.html
and url look this: http://localhost:12241/home.html#/home.html
i want only http://localhost:12241/home.html
What is this, how solve this?
Tnx Shashikant bit I don't see answer on above link.
I'm use standard code:
var path = window.location.pathname; var page = path.split("/").pop();
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.