jicks jicks - 5 months ago 8
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'