Adding 3rd party JS code

I’m currently making a moble app to identify a color when you select a part of an image. I want to use the code as demonstrated here:
https://rawgit.com/eddieferrer/angular-eyedropper/master/index.html

So far, I have downloaded the folders from Github and have tried putting:
<eyedropper img-src = "{{loadimage}}" ng-model="eyedropperColor"></eyedropper>

in my html file but I get this error.

18%20PM

How do I go about adding this 3 party JS code to my Ionic app? I’ve looked at a ton of other discussions. I have added

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular.min.js"></script>
  <script src="pages/second/js/eyedropper.js"></script>

to my src/index.html file but nothing works.