You must import the library into your index.html into the header tag. Secondly, you must make the library visible to your Angular project. That means you need captions. You can either search for https://github.com/DefinitelyTyped for existing types or add types to the typings.d.ts file.
Example:
On your page (outside of an Angular application) you may have a global javascript variable:
var testVar = 'testvalue';
Then in the typings.d.ts file you can make this variable globally accessible by adding
declare var testVar:string;
You can then access this variable throughout your Angular project as follows:
console.log(testVar);
You can do the same with functions in external libraries.
Here is a Plunk that shows that (without a typed file). Hope this helps.
source share