Hi i want to help in Angular 5. I am using external java scripts files without using node modules for Owl.Carousel. but the Owl.Carousel are not working. In angular-cli.json i have link my js files like this
"scripts": [
"././assets/js/jquery-2.2.4.min.js",
"././assets/js/Owl.Carousel.js",
"././assets/js/slick.min.js",
"././assets/js/active.js"
],
I have also try to embed the js file in index.html like this
<body>
<app-root></app-root>
<script src="././assets/js/jquery-2.2.4.min.js"></script>
<script src="././assets/js/Owl.Carousel.js"></script>
<script src="././assets/js/slick.min.js"></script>
<script src="././assets/js/active.js"></script>
</body>
</html>
But both of these way doesn't work and Owl.Carousel not working. And also i don't have to show any error in my console. My project structure is like this
assets/js/jquery-2.2.4.min.jsand another links inangular-cli.json