jicks jicks - 1 year ago 67
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 Source

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

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