Start with Migrate from AngularJS. Use the current API documentation as the source of truth rather than carrying removed providers or aliases into new code.
Migrate one feature at a time and keep user-visible tests around that boundary.
This is the multi-page printable view of this section. Click here to print.
Start with Migrate from AngularJS. Use the current API documentation as the source of truth rather than carrying removed providers or aliases into new code.
Migrate one feature at a time and keep user-visible tests around that boundary.
Move an application without treating API familiarity as runtime equivalence.
Add browser-level tests for the workflows that must survive migration. Record all modules, providers, directives, template syntax, router states, and custom decorators.
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.
Continue with application structure and the server-first guide. Use the current service and module references for exact APIs.
Record the current production version, read release and migration notes, and make sure the existing application passes its checks. Archive generated integration artifacts so regeneration differences are reviewable.
Do not combine a framework upgrade with unrelated application rewrites. Deploy an immutable artifact, retain the previous artifact, and understand whether stored data or service-worker caches prevent a simple rollback.
Remove deprecated usage while replacement and old behavior can still be compared. Do not wait for the release that removes the API.
Generated bindings must come from the authoritative TypeScript namespace. Never patch stale parity output manually.