I'm currently in the process of migrating my Ionic1
project to Ionic2
, and it's been quite an interesting journey so far! One challenge that I'm facing is how to transfer a lengthy list of utility functions written in JavaScript, like CmToFeet
, InchesToCM
, and FarenheitToCelsius
, to the Ionic2 project.
I'm unsure about the proper way to include these files in the project and ensure they are incorporated into the build process. Can I simply add them to the index.html
file and have them automatically accessible? Or do I need to take additional steps?
Any advice would be greatly appreciated!