As a beginner in Angular and Angular 2, I am interested in incorporating an external library into my project. The library can be found at the following link:
In order to use this library, I added the following line to my index.html file before angular:
<script src="./lib/angular-canvas-area-draw.js"></script>
However, upon implementation, I encountered the following error:
Uncaught ReferenceError: angular is not defined
at angular-canvas-area-draw.js:3
at angular-canvas-area-draw.js:234
What steps should I take to resolve this issue?