How do you autofocus on an input text field that makes keyboard showing up when enter the page

Or you can try my solution: https://forum.ionicframework.com/t/setting-focus-to-an-input-in-ionic-2/62789/9?u=vishin