There are two divisions in a page. First division has multiple entries. On click of each entry a view model has to be called and second division needs to be loaded with corresponding sourceOnShow. But the viewmodel is called only on the first click.
On first click, the URL gets changed to '#!/the second page id' and withOnShow gets called, but on next click, the URL remains same but withOnShow VM doesn't get called.
There are two divisions in a page. First division has multiple entries. On click of each entry a view model has to be called and second division needs to be loaded with corresponding sourceOnShow. But the viewmodel is called only on the first click.
On first click, the URL gets changed to '#!/the second page id' and withOnShow gets called, but on next click, the URL remains same but withOnShow VM doesn't get called.