angular-migration

Migrate legacy AngularJS apps to Angular using ngUpgrade hybrid setup.

3|1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/duanbiao2000/obsidianDoc26 --skill angular-migration-duanbiao2000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angular-migration
Source: https://github.com/duanbiao2000/obsidianDoc26/tree/main/agents-main/plugins/framework-migration/skills/angular-migration
Command: npx skills add https://github.com/duanbiao2000/obsidianDoc26 --skill angular-migration-duanbiao2000

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Solves the challenge of upgrading legacy AngularJS apps to Angular by enabling a safe hybrid migration.

Core Features & Use Cases

  • Incremental component rewriting, routing and DI updates, and hybrid bootstrapping for mid- to large-sized codebases.

Quick Start

Start by scaffolding a hybrid AngularJS/Angular project, bootstrap the UpgradeModule, and begin migrating a feature module using ngUpgrade.

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 app to Angular using a hybrid approach?

To migrate AngularJS to Angular, you scaffold a hybrid project, bootstrap the UpgradeModule, and rewrite components incrementally using ngUpgrade. This allows both frameworks to run simultaneously during the transition.

What is the best way to upgrade a large AngularJS codebase to Angular?

The best way to upgrade a large AngularJS codebase is a phased migration timeline. Using ngUpgrade for hybrid bootstrapping enables incremental component rewriting and safe dependency injection updates without a full rewrite.

Can I run AngularJS and Angular components together during migration?

Yes, you can run AngularJS and Angular components together during migration. Setting up a hybrid app with ngUpgrade allows both frameworks to interoperate while you incrementally rewrite features using TypeScript.

How do I handle routing and dependency injection updates in an Angular hybrid migration?

Handling routing and dependency injection updates in an Angular hybrid migration requires incrementally transitioning services. The ngUpgrade bridge allows Angular DI to communicate with AngularJS injectors across your hybrid app setup.

Do I need TypeScript to start migrating AngularJS to Angular?

Yes, TypeScript is required to start migrating AngularJS to Angular. The hybrid migration process involves creating TypeScript-based components that replace legacy JavaScript codebases within the ngUpgrade framework environment.