implementing ionic