Hi,
it would be nice if the following were possible:
Call $activePage service, with an argument. When the page is changed, that argument should be given to the onActivate callback of the selected page.
Would also be nice to save that object in the url / hash, so the new page gets bookmarkable / refreshable...
Benefits:
The pages are decoupled: The new page does not need to know who called that page / introspect the calling scope.
Hi, it would be nice if the following were possible: Call $activePage service, with an argument. When the page is changed, that argument should be given to the onActivate callback of the selected page.
Would also be nice to save that object in the url / hash, so the new page gets bookmarkable / refreshable...
Benefits: The pages are decoupled: The new page does not need to know who called that page / introspect the calling scope.