checking in ionic