Which of the following is the correct syntax to declare a standalone component in Angular?
A@Component({ selector: 'app-test', standalone: true, template: '<p>Test</p>' }) export class TestComponent {}
B@Component({ selector: 'app-test', standalone: false, template: '<p>Test</p>' }) export class TestComponent {}
C@Component({ selector: 'app-test', standalone: true, templateUrl: 'test.html' }) export class TestComponent {} NgModule({ declarations: [TestComponent] })
D@Component({ selector: 'app-test', standalone: true }) export class TestComponent { template: '<p>Test</p>' }