works with ionic v1.0.0-beta.9