Added sample ionic code