migrating to ionic framework