Angular is a good choice for business systems that live for years. It brings routing, forms, dependency injection, an HTTP client and testing tools in one package, which reduces the decisions each team has to make. We have Angular in 14 systems, in messaging platforms, order systems and operations dashboards.
How we structure an application
Standalone components. In current versions, the component declares what it uses and does not need NgModule. The structure is smaller, lazy loading per route is direct and new code is easier to read.
Organization by feature. Folders per business area, and not per file type. Each area has its own routes, components, services and tests. A shared layer holds interface components, utilities and common models.
State. In small systems, services with signals are enough. In large systems with a lot of shared state, we use NgRx with effects and selectors. We choose the minimum that works, and not the heaviest tool.
Signals. Signals make reactivity dependencies explicit and reduce unnecessary change detection. We use them for local and derived state, and keep RxJS where there are asynchronous flows, such as search with debounce and polling.
Forms. Typed reactive forms, with reusable validations and standard error messages. In data-entry systems, this is where ready-made components save the most time.
Tables and large lists. Server-side pagination, row virtualization, filters persisted in the URL and export. Tables with many rows need care with rendering.
Communication with the API
Typed services generate the contract from the OpenAPI of the .NET API, which avoids divergence. Interceptors handle tokens, session renewal, error handling and loading indicators. For real-time updates, we use SignalR or WebSockets, as in customer service monitoring dashboards.
Migrating between versions
Angular ships major versions regularly, and each one removes something. Our approach:
- Assess the state. Current version, third-party dependencies, unmaintained libraries, existing tests.
- Go up one version at a time. With ng update, fixing the breaking changes of each jump and running the tests between steps.
- Replace dead libraries. Discontinued interface components are swapped for maintained equivalents.
- Adopt the new, gradually. Standalone, the new template control flow and signals come in as screens are touched, without a mass rewrite.
- Measure the result. Bundle size, load time and build time before and after.
For AngularJS applications, coexistence by module allows migrating screen by screen while operations keep running.
Performance
Lazy loading per route, selective preloading, image optimization, the OnPush strategy and bundle analysis to find heavy dependencies. Server-side rendering comes in when SEO or first load justify it. For content sites, we prefer Astro.
Quality and delivery
Unit and component tests run on every pull request. End-to-end tests cover login, critical records and money flows. The pipeline builds the bundle, publishes per environment and keeps the source map to debug errors. See Azure DevOps and CI/CD.
Accessibility and internationalization
Components with careful focus, labels and contrast from the start, and texts ready for several languages with Angular’s translation system. Accessibility comes from the design of the components and is cheaper when it starts on day one.
Working with a Brazilian team
Our engineers are based in Brazil, in time zones that overlap with the US working day, and we communicate in English.
How we deliver in weeks
- Our own boilerplates. An Angular application with authentication, profiles, layout, tables, forms, interceptors and a pipeline already configured.
- AI agents with senior review. Agents write components, services and tests. A senior engineer reviews every change.
- The same team from assessment to deploy. The person who gathers the screens programs and publishes.
- Fixed scope after the assessment. The free assessment defines screens, integrations and a timeline in weeks.
Large systems and several teams
When several teams touch the same application, repository organization matters. We use a monorepo with internal libraries per domain, import rules that prevent circular dependencies and a design system with documented components. Each team publishes its part without waiting for the others. On platforms with several dashboards, this structure lets each area evolve at its own pace.
Common mistakes we fix
Observable subscriptions that are never cancelled and leak memory. Change detection triggered constantly by functions called in the template. Giant components that mix screen, rules and data access. Global styles that break distant screens. We handle each with gradual refactoring and tests before touching anything.
Observability in the browser
Browser error reporting with source maps, real-user performance measurement and navigation event logging. When a screen fails for a customer, the team finds the cause from the trail and not by trial and error.
Why the structure matters
A predictable structure means a new developer finds things where they expect them. Routes, services and tests follow the same pattern in every area, so reviews are faster and onboarding takes less time. That consistency is what keeps a system maintainable for years.
Related
This work is part of the web development service. See the case Regina Festas, where an Angular panel manages audits, stores, questions and products. Request the free assessment.