I am starting in Angular and would need to create a drop down list to select the year. Starting in 2020 until the current year, leaving the current year as the default. The data of the year will be collected later in the back to make a query and get the data of the chosen year and they are automatically displayed on the front when changing the year. I don't know how to start or if any angular packages need to be installed.
<select id="year" name="year" class="select_year cart_select italic light" />
<option selected hidden>Año</option>
<option value="2021">2021</option>
<option value="2020">2020</option>
</select>
This is how I have it now, but I need it to be dynamic and to update the year selected by default every year.