Code pen with jQuery to ionic project

I'm veery new to ionic and angularJS. How would I go about taking

this codePen

enter code here

and using it in a blank IONIC project. I get to put the css in the ionic project css sheet and the html part in the ion-content but what about the js of the codePen??

Thanks,

Since the code pen's JS is not a angularJS code. You can do two things,

  1. Make a separate file called Javascript.js and reference it from index.html
  2. Put the script tag in index.html and place the code there.

PS: I should warn you the css you have put , may not work on a real device.