Angular - State Management
Identify the error in this Angular component code that tries to manage state without NgRx:
export class SampleComponent {
count = 0;
increment() {
count += 1;
}
}