The above link can be used to reproduce the problem.
I have used the OnInit hook to initialize the silverlight control from inside a component. When I navigate to the silverlight view for the first time, all the lifecycle events are called. However, after that, the lifecycle events are only called when I route to the 'silverlight' view by click on the anchor tag. If I directly type the URL in the address bar, only the constructor is called and my silverlight plugin is not loaded
The problem seems to occur in IE and not in Chrome.
https://github.com/lohiarahul/Angular2-Silverlight-Starter
The above link can be used to reproduce the problem.
I have used the OnInit hook to initialize the silverlight control from inside a component. When I navigate to the silverlight view for the first time, all the lifecycle events are called. However, after that, the lifecycle events are only called when I route to the 'silverlight' view by click on the anchor tag. If I directly type the URL in the address bar, only the constructor is called and my silverlight plugin is not loaded
The problem seems to occur in IE and not in Chrome.