allow the user to select a record from the Angular table