this.heroes = this.heroes.map(heroes => heroes.map(hero => ({...hero, selected})));
0
solved angular2 How to select all? [closed]
this.heroes = this.heroes.map(heroes => heroes.map(hero => ({...hero, selected})));
0
solved angular2 How to select all? [closed]