updated to ionic v0.9.24
fixed localStorage usage