using external JS libraries in my angular 2 project
<p>I need to use <a href="http://praytimes.org/code/v2/js/PrayTimes.js" rel="noreferrer">this JS library</a> in my angular 2 project </p>

<p>this question may be duplicate with me , but no answer worked for me</p>

<p>I tried to include the library as script tag in my index.html page</p>

<blockquote>
  <p>It always does not see it <a href="http://localhost:8100/PrayTimes.js" rel="noreferrer">http://localhost:8100/PrayTimes.js</a> file is
  not exist</p>
</blockquote>

<p>also I wrote this code above</p>

<pre><code>declare var PrayTimes:any;
</code></pre>

<p>I tried to use it in my constructor , but I am getting this error</p>

<blockquote>
  <p>PrayTimes is not defined</p>
</blockquote>