jicks jicks - 8 months ago 29
AngularJS Question

Access url parameter from angular js

How to access header values in angular js controller.
enter image description here

Need to access the value of 'p'

Answer

https://docs.angularjs.org/api/ng/service/$location

$location.search() will give you an object containing a key named 'p'