Angular: add LinkedIn Insight my project

i have an angular project and i need to add my LinkedIn Insight Tag to my angular app, now for the google analytics i use the ngrx-google-analytic package, but dont see find something like that for LinkedIn Insight Tag, there is any way to do it without copy and paste the script code to the index.html which hope there is becuase that would be to ugly to do, i found a react package but dont see find one for angular and this the code that linkedin give to me:

<script type="text/javascript">
_linkedin_partner_id = "xxxxxx";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
</script><script type="text/javascript">
(function(){var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
s.parentNode.insertBefore(b, s);})();
<img height="1" width="1" style="display:none;" alt="" src="" />

Source: Angular Questions