Moving the select dropdowns into a reusable directive.