Angular 2. How to detect if component is currently in viewport Angular 2. How to detect if component is currently in viewport typescript typescript