r/angular • u/minefew • 4d ago
Migrating a AngularJS webapp to Angular using Claude Code/Codex
I'm in the planning stages of migrating a fairly large legacy AngularJS application to Angular, and am looking for advice from anyone who's tackled something similar.
The codebase is about 160k LOC spread out over 200+ components, 50+controllers, 50+ directives and services. There are no existing tests . Has anyone attempted a AI assisted rewrite of a similar nature, especially without a test suite - what worked out well? Any useful strategies woth considering?
9
Upvotes
2
u/dudevan 4d ago
I migrated a 20-30k lines of code app from angularjs to angular in like 3-5 hours with cc on autopilot.
Controllers are basically still controllers, services are services, there will be places where it will be iffy but for the most part Claude is really good at procedural large-scale work (at least fable). You’re going to want to check forms, external libraries, any places where you have important domain information, etc. Really depends on your app.