Angular 2 Get current route : <p>So I need somehow check if I am on home page and do something and in other pages don't do that. Also that component imported on all of pages.</p>

<p>How can I detect on that component if I'm on home page???</p>

<p>Thanks</p>
