angular-migration
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
Skill by alexander-kastil
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alexander-kastil-angular-migration
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
angular-migration- Description
- Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS applications, planning framework migrations, or modernizing legacy Angular code.
- License
- MIT
- Instructions
- 425 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Angular Migration
Master AngularJS to Angular migration, including hybrid apps, component conversion, dependency injection changes, and routing migration.
## Use this skill when
- Migrating AngularJS (1.x) applications to Angular (2+)
- Running hybrid AngularJS/Angular applications
- Converting directives to components
- Modernizing dependency injection
- Migrating routing systems
- Updating to latest Angular versions
- Implementing Angular best practices
## Do not use this skill when
- You are not migrating from AngularJS to Angular
- The app is already on a modern Angular version
- You need only a small UI fix without framework changes
## Instructions
1. Assess the AngularJS codebase, dependencies, and migration risks.
2. Choose a migration strategy (hybrid vs rewrite) and define milestones.
3. Set up ngUpgrade and migrate modules, components, and routing.
4. Validate with tests and plan a safe cutover.
## Safety
- Avoid big-bang cutovers without rollback and staging validation.
- Keep hybrid compatibility testing during incremental migration.
## Migration Strategies
### 1. Big Bang (Complete Rewrite)
- Rewrite entire app in Angular
- Parallel development
- Switch over at once
- **Best for:** Small apps, green field projects
### 2. Incremental (Hybrid Approach)
- Run AngularJS and Angular side-by-side
- Migrate feature by feature
- ngUpgrade for interop
- **Best for:** Large apps, continuous delivery
### 3. Vertical Slice
- Migrate one feature completely
- New features in Angular, maintain old in AngularJS
- Gradually replace
- **Best for:** Medium apps, distinct features
## Hybrid App Setup
```typescript
// main.ts - Bootstrap hybrid app
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { UpgradeModule } from '@angular/upgrade/static';
import { AppModule } from './app/app.module';
platformBrowserDynamic()
.bootstrapModule(AppModule)
.then(platformRef => {
const upgrade = platformRef.injector.get(UpgradeModule);
// Bootstrap AngularJS
upgrade.bootstrap(document.body, ['myAngularJSApp'], { strictDi: true });
});
```
```typescript
// app.module.ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { UpgradeModule } from '@angular/upgrade/static';
@NgModule({
imports: [
BrowserModule,
UpgradeModule
]
})
export class AppModule {
constructor(private upgrade: UpgradeModule) {}
ngDoBootstrap() {
// Bootstrapped manually in main.ts
}
}
```
## Component Migration
### AngularJS Controller → Angular Component
```javascript
// Before: AngularJS controller
angular.module('myApp').controller('UserController', function($scope, UserService) {
$scope.user = {};
$scope.loadUser = function(id) {
UserService.getUser(id).then(function(user) {
$scope.user = user;
});
};
$scope.saveUser = function() {
UserService.saveUser($scope.user);
};
});
```
```typescript
// After: Angular component
import { Component, OnInit } from '@angular/core';
import { UserService } from './user.service';
@Component({
selector: 'app-user',
template: `
<div>From alexander-kastil/skills-collection, MIT.
More from alexander-kastil/skills-collection
- 0.488score
agents-v2-py
alexander-kastil
Build container-based Foundry Agents using Azure AI Projects SDK with ImageBasedHostedAgentDefinition.
SkillDFreshness: D★ 19Claude Code +9 - 0.485score
antigravity-workflows
alexander-kastil
Orchestrate multiple Antigravity skills through guided workflows for SaaS MVP delivery, security audits, AI agent builds, and browser QA.
SkillDFreshness: D★ 19Claude Code +9 - 0.463score
algorithmic-art
alexander-kastil
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration.
SkillDFreshness: D★ 19Claude Code +9
Signals
- Stars
- 19
- Forks
- 6
- Open issues
- 1
- Last commit (this folder)
- Feb 16, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.449score
angular-migration
agent-skills-hub
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: D★ 123Claude Code +9 - 0.290score
angular-migration
roadsidedev
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: D★ 20Claude Code +9 - 0.285score
angular-migration
jiho00seo-dev
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: D★ 10Claude Code +9 - 0.279score
angular-migration
haresh-sai06
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillCFreshness: CClaude Code +9 - 0.259score
angular-migration
jyjeanne
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: D★ 1Claude Code +9 - 0.246score
angular-migration
0xzahed
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: DClaude Code +9 - 0.243score
angular-migration
KignLeon
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: DClaude Code +9 - 0.243score
angular-migration
abdellaziz-ali
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: DClaude Code +9
More from alexander-kastil
- 0.488score
agents-v2-py
alexander-kastil
Build container-based Foundry Agents using Azure AI Projects SDK with ImageBasedHostedAgentDefinition.
SkillDFreshness: D★ 19Claude Code +9 - 0.485score
antigravity-workflows
alexander-kastil
Orchestrate multiple Antigravity skills through guided workflows for SaaS MVP delivery, security audits, AI agent builds, and browser QA.
SkillDFreshness: D★ 19Claude Code +9 - 0.463score
algorithmic-art
alexander-kastil
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration.
SkillDFreshness: D★ 19Claude Code +9
Cite this page
angular-migration skill. Agent Mart. https://agentmart.dev/skills/alexander-kastil-angular-migration (last updated 2026-10-24)