title: angular 4 use component throughout application
body: <p>I want to create a reusable component and use it multiply times in my application. Also I need to pass different data every time. In this component I want pass data from different component every time. For example a custom modal component and call it from every component I want, and pass it the appropriate data. How I can do this??</p>