How to lazy load Ionic CSS and JS inside index.html?


I would like to speed up my app to imitate native app. So, I think the index.html file could be almost empty (say one <h1> element and one picture) and then lazy load Ionic and other custom CSS and JS files.

How to lazy load them? Anybody knows?