• Did you put your code into an the onInit(){...} function or into a function (path) that is called from within onInit(){...} function?

About