Hello i want to add external .js files into my Ionic Angular Project
Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 5.2.3
@angular-devkit/build-angular : 0.901.11
@angular-devkit/schematics: 9.1.11
@angular/cli : 9.1.11
@ionic/angular-toolkit: 2.3.0
Utility:
cordova-res (update available: 0.15.2) : 0.15.1
native-run (update available: 1.3.0) : 0.3.0
I created a js folder into assets and i put the files into it. This is how i call them in index.html
<body>
<app-root></app-root>
<script type="text/javascript" src="./assets/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="./assets/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="./assets/js/charts.js"></script>
<script type="text/javascript" src="./assets/js/isotope.pkgd.min.js"></script>
<script type="text/javascript" src="./assets/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="./assets/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="./assets/js/jquery.canvasjs.min.js"></script>
<script type="text/javascript" src="./assets/js/jquery.countTo.js"></script>
<script type="text/javascript" src="./assets/js/jquery.easy-autocomplete.minjs"></script>
<script type="text/javascript" src="./assets/js/bootstrap.min.js"></script>
<script type="text/javascript" src="./assets/js/idangerous.swiper.min.js"></script>
<script type="text/javascript" src="./assets/js/jquery.mixitup.js"></script>
<script type="text/javascript" src="./assets/js/jquery.viewportchecker.min.js"></script>
<script type="text/javascript" src="./assets/js/filters.js"></script>
<script type="text/javascript" src="./assets/js/global.js"></script>
<script type="text/javascript" src="./assets/js/script.js"></script>
<script type="text/javascript" src="./assets/js/sortable.js"></script>
<script type="text/javascript" src="./assets/js/magnific.js"></script>
<script type="text/javascript" src="./assets/js/map.js"></script>
<script type="text/javascript" src="./assets/js/wow.js"></script>
</body>