use of select with a more angular way