Which method of $location service is used to get the full URL of the current web page?

44. Which method of $location service is used to get the full URL of the current web page?

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

Answer: D) absUrl()

Explanation:

The $location.absUrl() returns the full URL of the current web page.

Comments and Discussions!

Load comments ↻






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