angular-migration

Migrate AngularJS applications to Angular with hybrid setup and component conversion.

4|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/EngineerWithAI/engineerwith-agents --skill angular-migration-engineerwithai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angular-migration
Source: https://github.com/EngineerWithAI/engineerwith-agents/tree/main/plugins/framework-migration/skills/angular-migration
Command: npx skills add https://github.com/EngineerWithAI/engineerwith-agents --skill angular-migration-engineerwithai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the complex and time-consuming process of migrating applications from AngularJS (1.x) to modern Angular (2+), ensuring a smooth transition with minimal disruption.

Core Features & Use Cases

  • Migration Strategies: Provides guidance on Big Bang, Incremental (Hybrid), and Vertical Slice approaches.
  • Hybrid App Setup: Demonstrates how to configure and bootstrap a hybrid application using ngUpgrade.
  • Component Conversion: Shows the transformation of AngularJS controllers and directives into Angular components.
  • Service Migration: Illustrates migrating AngularJS factories to Angular services.
  • Dependency Injection: Details how to bridge DI between AngularJS and Angular.
  • Routing Migration: Guides on converting AngularJS routing to Angular's router.
  • Forms Migration: Covers migrating from AngularJS forms to Angular's template-driven or reactive forms.
  • Use Case: You have a large, legacy AngularJS application and need to plan and execute a phased migration to Angular to leverage new features and maintainability.

Quick Start

Use the angular-migration skill to get a step-by-step guide on migrating an AngularJS application to Angular.

Frequently Asked Questions about angular-migration

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

FAQPage Schema
How do I migrate an AngularJS application to Angular?

Migrating AngularJS to Angular involves choosing a strategy like Big Bang or Incremental hybrid setup. You bootstrap a hybrid app using ngUpgrade, then progressively convert controllers into components and factories into services.

What is the best way to run AngularJS and Angular together during a migration?

Running AngularJS and Angular together requires configuring and bootstrapping a hybrid application using ngUpgrade. This setup bridges dependency injection and routing, allowing both frameworks to operate concurrently while you migrate code incrementally.

How does ngUpgrade bridge dependency injection between AngularJS and Angular?

ngUpgrade bridges dependency injection by making Angular services available to AngularJS and vice versa. This ensures legacy factories and new services communicate seamlessly throughout the incremental migration process.

Can I migrate AngularJS forms to Angular reactive forms?

Yes, you can migrate AngularJS forms to Angular reactive forms or template-driven forms. The migration process involves transforming existing form bindings and validation logic to align with Angular's modern form modules and component architecture.

How to convert AngularJS directives into Angular components?

Converting AngularJS directives into Angular components requires replacing the directive definition object with an Angular component class. You update templates, bindings, and lifecycle hooks to match Angular's component architecture and modern dependency injection.