Ionic 2 with third party or/old libraries

Is there a way to use third party JavaScript libraries from an Ionic 1? I am using Backand as a backend and it has an Angular SDK library which is written for Angular. I was am to use it in my Ionic 1 project, but I want to migrate the project to Ionic 2. Is that possible?