Which method of $location service is used to get the URL without base prefix?

45. Which method of $location service is used to get the URL without base prefix?

  1. url()
  2. Url()
  3. WebUrl()
  4. absUrl()

Answer: A) url()

Explanation:

The $location.url() returns the URL without base prefix.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.