How to include external js ionic3

Screenshot_8

Screenshot_9

I’m getting an error when I try to use it like this

Does this btohtml.js actually define a global btohtml object?
Do you only get an error in your IDE (which one are you using?) or also when you run the code?