That is definitely not the answer. You do not need a static parameters
getter.
I removed the static parameters and now it works. The reason it didn’t works is because I copied the code from someone. In that example it said:
static get parameters() {
return [[Http]];
}
and the constructor was:
constructor(private http:Http, private storage: Storage)
As you can see the parameters count don’t match. So that was it. So anybody else having empty parameters knows to fix it now.