how to use angularjs routeparam
how to use angularjs routeparam
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bhuvanesh MohankumarPosted Oct 2, 2018, 3:33 PM
The
$routeParamsservice allows you to retrieve the current set of route parameters.Requires the
ngRoutemodule to be installed.The route parameters are a combination of
$location'ssearch()andpath(). Thepathparameters are extracted when the$routepath is matched.