How I can use jQuery plugin with Angular 2 app?
For example: circliful (https://github.com/pguso/jquery-plugin-circliful).
All I know is that I have to import jQuery and the plugin .js into my index.html
, but how I can place a code like this (shown in the plugin documentation):
<script>
$( document ).ready(function() {
$("#your-circle").circliful({
animationStep: 5,
foregroundBorderWidth: 5,
backgroundBorderWidth: 15,
percent: 75
});
});
</script>
into an angular 2 app - I have no idea!