Modal component in Angular 2
Cool stuff, though instead of declaring _isOpen property as a &lt;boolean&gt; in the service class, you should provide a new interface (as you added modalId).
Something like:

interface IModalElementStatus {
    isOpen: boolean;
    id: string;
}