How can I prevent ionic build script from reordering script tags in index.html? I have a custom script that has a dependency on cordova.js. In index.html I have added Cordova first and then my custom js lib but every time I build, the order gets changed. custom.js tag is being added in header and cordova.js in the body tag. How do I maintain this order?