How can I extract the current URL path along with its query parameters using uiRouter?
I'm aiming for a result similar to:
window.location.pathname + window.location.search
Is there a way to accomplish this through uiRouter?
I attempted to log $location
in the console, but found that the path
only returns the path without the query parameters.