Updated to new Ionic