AngularJS - how to use a route with dynamic data for template -



AngularJS - how to use a route with dynamic data for template -

i'm not sure i'm after hence duplicate of topic - if please direct me :)

anyway, want shopping page, there page listing out items. part can fine :)

the issue have want 1 page "details" each item - share same layout. in case, depending on what's selected, routes details page (maybe corresponding id of sort) displays details of whatever clicked.

is possible? hope i've explained plenty - if not please allow me know.

tia

you don't need utilize route each item. can utilize route page (with ngview, example) nowadays details page, , (assuming have object data) nowadays current item's model appropriately.

if can nowadays code can give improve idea.

angularjs angularjs-routing

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -