changing to ionic framework