Question #147967

Which method of $location service is used to get the search part of the current URL when called without any parameter?


Options:

Explanation:
The $location.search() returns the search part of the current URL when called without any parameter.
Tags: AngularJS

Test Your Knowledge

Want to practice more questions like this? Take a quiz in this category!

Take a Quiz

Share This Question

AdBlock Detected

We've detected that you're using an ad blocker. Our website is made possible by displaying online advertisements to our visitors.

Please support us by disabling your ad blocker for this website.

How to disable your ad blocker:

  1. Click on the ad blocker icon in your browser's toolbar
  2. Select "Pause on this site" or "Don't run on pages on this domain"
  3. Refresh the page