Which is not a valid method of $location service?
Options:
Explanation:
There is no function named <span class="w3-codespan">hostname()</span> in <span class="w3-codespan">$location</span> service.
Tags:
AngularJS
Answer:
Which is not a valid method of $location service hostname().