Simple question, I hope.
I want to run a script when the Angular2 equivalent of $document.ready() is fired. What is the best way to achieve this?
I\'ve tried
In order to use jQuery inside Angular only declare the $ as following: declare var $: any;