Following changes are done:
1) ngClass directive are used to change row color.
2) When an item status is bought, its respactive to in list page will display green.