Jaffer Sadiq

Jaffer Sadiq

  • NA
  • 155
  • 69k

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)