Ionic else if with angular