How to download only required components in ionic 1

Is there a way to download only required components/functionality in Ionic 1 without downloading the full ionic-angular js file. For example I just need the nav bar related functionality I don’t want any other functionality to be included.

So ionic-angular js file should have only nav related code not all.

Please suggest.