Avatar ·

Error "Can't bind to 'routerLink' since it isn't a known property" in Angular

Hi! I'm new to Angular and TypeScript, and I've encountered a problem when trying to add navigation to my app. I have a component with a menu where I want to use the `routerLink` directive for navigating between pages. Here's my component code (header.component.ts): ```typescript import { Component } from '@angular/core'; @Component({ selector: 'app-header', template: ` ` }) export class HeaderComponent {} ``` And the module where I declared it (app.module.ts): ```typescript import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppComponent } from './app