Which method of $location service is used to get the URL without base prefix?
Options:
Explanation:
The
$location.url() returns the URL without base prefix.
Tags:
AngularJS
Answer:
Which method of $location service is used to get the URL without base prefix url().