How to achieve a .map
of react with angular.
Example at React:
const options = ['Car', 'Bus', 'Truck', 'Bike', 'Motorcycle'];
const compTest = () => (
<select>
{options.map((vehicle) => <option>{vehicle}</option>)}
</select>
)
How I do this with an angular component?