title: Showing a popup when page loads in Angular 4
body: <p>I am very new to Angular and I am trying to make a popup in Angular 4 that asks for the user's email when the page loads. I googled and I couldn't find a single example. What is the best service I can use for that task, how is it usually done?</p>