Jaffer Sadiq

Jaffer Sadiq

  • 1.9k
  • 129
  • 59.2k

how to get url paramter value in angular js

Sep 10 2018 6:20 AM
Hi,
I need to get url parameter as value in angular js. Am new to angular JS
url : http://localhost:52073/TransRecord/ShowTransRecord?id=%22262115537004%22&cnmae=%22Demo%20Customer%22
I need id value = 22262115537004, cnmae value = Demo Customer. I tried with location.url. but don't know how to get exact parameter value
Thanks in advance

Answers (6)