If you're building a hybrid app (Cordova/Ionic) keep a local copy of the libraries you use and import them in index.html using the relative path, that way these libraries will always be available offline.
If you're building a webapp minimize (Closure is just an example) your libraries and code. Some libraries come minimized already, for the ones that don't (or your own source) you're gonna have to take care of this yourself.
This cuts down the size of the code by a lot and speeding your loading times.
You might be interested in ocLazyLoad. It provides a way to lighten up your index.html and speed up your loading times by deferring the load of dependencies and components to only when first needed.
Good luck!