Migrate from AngularJS
Goal
Move an application without treating API familiarity as runtime equivalence.
Before you start
Add browser-level tests for the workflows that must survive migration. Record all modules, providers, directives, template syntax, router states, and custom decorators.
Migrate in boundaries
- Start a small independent AngularTS application or island.
- Move one leaf component and its direct service dependencies.
- Replace removed abstractions with the documented native or module API.
- Run behavior tests and inspect console errors.
- Repeat for shared application code.
AngularTS preserves the HTML-first module, injection, controller, scope,
directive, filter, and two-way-binding mental models. Its runtime is different:
reactive proxies replace digest polling, native promises replace $q, native
timers replace timeout abstractions, and native DOM elements replace wrapper
objects.
Require explicit injection annotation during migration. Audit custom directives for DOM-wrapper assumptions and code that manually starts digest work.
Next step
Continue with application structure and the server-first guide. Use the current service and module references for exact APIs.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.