While working with the ionic framework, I have noticed that many of my pages require the same modules.
import { Http } from '@angular/http';
import { Storage } from '@ionic/storage';
Therefore, I find myself setting them in the constructor on each page like this:
constructor(public navCtrl: NavController, public navParams: NavParams, public http: Http, private storage: Storage)
I am curious if there is a more efficient way to automatically include these modules on all my pages, or if what I am currently doing is the optimal solution.