ionic-angular

Guides Angular-specific Ionic app development including navigation, forms, lifecycle hooks, and testing.

1|Updated Aug 25, 2026
One-click install
npx skills add https://github.com/involvex/ionic-everywhere --skill ionic-angular-involvex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ionic-angular
Source: https://github.com/involvex/ionic-everywhere/tree/main/.agents/skills/ionic-angular
Command: npx skills add https://github.com/involvex/ionic-everywhere --skill ionic-angular-involvex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building Ionic apps with Angular requires framework-specific knowledge: standalone vs NgModule architecture, Angular Router integration with Ionic navigation, Ionic page lifecycle hooks, and reactive forms with Ionic input components. This Skill provides structured guidance so the agent detects your project setup and applies the correct patterns automatically. ## Core Features & Use Cases - Architecture Detection: Automatically detects standalone vs NgModule projects by reading main.ts and adapts all code examples and imports accordingly. - Navigation & Lifecycle: Covers Angular Router integration with tabs, side menus, modals, route guards, and Ionic page lifecycle hooks like ionViewWillEnter. - Forms, State & Testing: Implements reactive forms with Ionic inputs, services with HttpClient, signals or BehaviorSubject state, plus unit and E2E testing patterns. - Use Case: You are adding a detail page to an existing Ionic Angular app. The Skill detects your standalone architecture, generates the lazy-loaded route with loadComponent, wires up NavController navigation, and adds the correct lifecycle hook for data refresh. ## Quick Start Ask the agent to add a new lazy-loaded page with a reactive form to your existing Ionic Angular project.

Frequently Asked Questions about ionic-angular

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up navigation in an Ionic Angular app?

Define routes with loadComponent for standalone apps or loadChildren for NgModule apps, then use routerLink with routerDirection in templates or NavController methods like navigateForward and navigateBack for programmatic animated navigation.

How do I use reactive forms with Ionic input components?

Import ReactiveFormsModule and build a FormGroup with FormBuilder and Validators, then bind controls via formControlName on ion-input, ion-select, and other Ionic components. Ionic 7+ supports errorText for automatic validation messages.

What is the difference between standalone and NgModule in Ionic Angular?

Standalone apps bootstrap with bootstrapApplication and import each Ionic component from @ionic/angular/standalone, enabling tree-shaking. NgModule apps import IonicModule.forRoot() globally, making all components available without per-file imports.

Why is ionViewWillEnter not firing in my Ionic page?

Ionic lifecycle hooks only fire on components directly routed through ion-router-outlet, not on child components. Also verify provideIonicAngular is called in app.config.ts for standalone apps or IonicModule.forRoot() is imported for NgModule apps.

Should I use ngOnInit or ionViewWillEnter to load page data?

Use ionViewWillEnter for data that must refresh on every visit, because Ionic caches pages in the DOM and ngOnInit fires only once on first creation. Reserve ngOnInit for one-time setup logic.

Can this Skill create a new Ionic app from scratch?

No, it is scoped to Angular-specific patterns within existing Ionic projects. For creating a new app, upgrading Ionic versions, Capacitor plugin integration, or React and Vue frameworks, use the related dedicated skills instead.