added m2x to ionic