I have two routes which use the same component:
{ path: '/table', name: 'Table', component: TableComponent }
{ path: '/table/:id', name: 'TableWithDetail', component: TableComponent }
When clicking on a table entry, the url should switch to /table/:id which
shows the table and the detail of the clicked table entry (the detail view
is a directive which is shown beside the table). This works so far, but
unfortunatley the the TableComponent is reinitialized (constructor etc.)
when switching to the route with the id. Can I somehow prevent this
reloading of the TableComponent?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.