CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl-labs/angular-best-practices

Angular patterns — standalone components, signals, inject(), reactive forms, HTTP interceptors, and new control flow

95

2.75x
Quality

94%

Does it follow best practices?

Impact

99%

2.75x

Average score across 4 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-1/

Employee Directory

Build an employee directory page in Angular. The page fetches a list of staff members from a REST API (GET /api/employees) and displays them as cards. Each card shows the employee's name, job title, department, and avatar image.

Add a search bar at the top that filters the visible cards in real time as the user types (client-side filtering by name or department).

API Response Shape

{
  "data": [
    {
      "id": 1,
      "name": "Alice Park",
      "title": "Staff Engineer",
      "department": "Platform",
      "avatarUrl": "/avatars/alice.png"
    }
  ]
}

Output

Produce TypeScript files in a src/app/ directory:

  • src/app/employees/employee.model.ts -- TypeScript type definitions
  • src/app/employees/employee.service.ts -- service to fetch employees from the API
  • src/app/employees/employee-list.component.ts -- page component with search and card grid
  • src/app/employees/employee-card.component.ts -- presentational card component

Do not include test files or build configuration.

evals

scenario-1

criteria.json

task.md

tile.json