Angular 2 Window Onload Event