added example for Ionic