New to Angular 2/4 (Angular in general) and I'm trying to figure a way to append a component to an item in an ngFor list in which each item listed provides it's own component on click within the list.
I have two sibling component's. One that provides a grid list (exponentially long) of thumbnails using bootstrap called Thumbnail and I have a sibling component that uses interpolation to use the data from Thumbnail Component to display further information. I would like each thumbnail when clicked to display a component with its respective information not below the list, but in between it. I have looked around and saw a couple posts related to creating dynamic components with ComponentFactoryResolver and using @Viewchild and haven't I haven't been successful here.
I've been able to have the new View show below the list but that's not the idea behind the design.
To further complicate this I'd like the new View to be routed, so if one were to navigate to this new components View it will having its URL displayed on the top of the page at /#id. Or if someone were to visit the URL it will route to its destination as a new view within the thumbnail component.
Here's a photo describing how I've been trying to get it to function and I think it better explains what I'm getting at.
Any help on what I should be looking into would be fantastic. Thanks.