<div>
<label> Categories </label>
<select>
<option *ngFor = "let category of categories"
[value] = "category"
(click) = "onCategorySelected( category.name )">
{{category.name}}
</option>
</select>
</div>
That function onCategorySelected is just not getting called.
I have to pass it the user selected value from the dropdown list.
What is the way out?