Refactored to use format required for generator-ionic usage