I'm trying to add some Jquery Code in Angular application but showing an error because I don't know how to use that Jquery code in the angular if I running in HTML file working fine below is my sample code please help me
<script type="text/javascript">
$('.js-example-basic-single').select2({
placeholder: '--- Select Country ---'
});
</script>