$(document).ready(function(){
$("#select1,#select2,#select3").change(function(){
$(this).find("option:selected").each(function(){
var optionValue = $(this).attr("value");
if(optionValue){
$(".box").not("." + optionValue).hide();
$("." + optionValue).show();
} else{
$(".box").hide();
}
});
}).change();
});
i want to add this abode jquery code into angularjs code like directive services or anyone
pleas help
or convert this jqury code into angularjs

Bala SRank #1,394 · 1.2K reputationPosted Feb 5, 2018, 7:39 PM EST
adil dosani20 reputationPosted Feb 5, 2018, 7:47 PM EST
Steven Clark4 reputationPosted Aug 30, 2019, 2:29 AM EDT