I am trying to display a bootstrap modal but keep encountering an error message:
SectionDetailComponent.html:54 ERROR TypeError: $(...).modal is not a function
This is how my .angular-cli file looks like:
"scripts": [
"../node_modules/jquery/dist/jquery.min.js",
"../node_modules/bootstrap/dist/js/bootstrap.min.js"
],
Below is a snippet from my component code:
declare var jquery:any;
declare var $:any;