Angular patterns — standalone components, signals, inject(), reactive forms, HTTP interceptors, and new control flow
95
94%
Does it follow best practices?
Impact
99%
2.75xAverage score across 4 eval scenarios
Passed
No known issues
Build an expense submission form in Angular. The form collects the following fields:
Display inline validation messages when a field is invalid after the user has interacted with it. The submit button should be disabled until the form is valid. On submission, log the form value to the console.
Produce TypeScript files in a src/app/ directory:
src/app/expenses/expense.model.ts -- TypeScript type definitionssrc/app/expenses/expense-form.component.ts -- the form componentDo not include test files or build configuration.