I need to use this JS library in my angular 2 project
this question may be duplicate with me , but no answer worked for me
I tried to include the library as
Place all javascript, external css, images etc. in src/assets
src/assets
(will be compiled to build/assets)
build/assets
In your index.html:
index.html
Then you can just use it like you describe. (declare var PrayTimes: any;)
declare var PrayTimes: any;