A curated collection of extensions and utilities that simplify and enhance Angular application development.
- Field / Form Classes: Simplified API for managing Angular Reactive Forms.
- Cleaner validation logic and form control abstractions.
- Strongly-typed helpers to reduce boilerplate.
- Prebuilt, reusable components based on Angular Material and CDK.
- Includes commonly-used form inputs and UI controls.
- Consistent UX patterns out of the box.
- Stateful Modals: Manage modals as part of router state.
- Route Retained Events: Listen to route changes even when components are reused.
- Useful hooks and utilities for advanced routing behavior.
npm install angular-extensionsMake sure to also install
@angular/materialand@angular/cdkif you intend to use the UI controls.
import { Field, FormGroupBuilder } from 'angular-extensions/forms';
const loginForm = new FormGroupBuilder({
email: new Field('', [Validators.required, Validators.email]),
password: new Field('', Validators.required),
});import { ModalRouteService } from 'angular-extensions/router';
modalRouteService.open('settings');Detailed usage examples and API reference can be found in the Wiki (or replace with a /docs folder link if applicable).
Clone the repo and run:
npm install
npm run startContributions are welcome! Please open an issue or submit a pull request.