updated to new version of ionic framework