1In case someone runs into the same issue I ran:
2
3I ended using localstorage to temporarily store my object and access it from the other window.
4
5So the code ended up like:
6
7<a target="_blank" [routerLink]="['/details', item.name]" click="passObject(item.name)">
8passObject(i){
9 localStorage.setItem('i.name', JSON.stringify(i));
10}
11And in the details component:
12
13ngOnInit() {
14 this.item = JSON.parse(localStorage.getItem(param));
15}
16Another idea that I could try is implementing a message service