Ionic framework example working with REST api.