Origin is ionic:// not http://

voted mate.thanks for the reply.