CopyPastor

Detecting plagiarism made easy.

Score: 0.8500740800243709; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2021-03-26
by Kael

Original Post

Original - Posted on 2018-11-21
by SiddAjmera



            
Present in both answers; Present only in the new answer; Present only in the old answer;

To make this work you'll have to import the ReactiveFormsModule in your @NgModule which is the ViewsModule as your question suggests. As FormControl is exposed as a part of ReactiveFormsModule and NOT the FormsModule.

... import { ReactiveFormsModule, ... } from '@angular/forms';
@NgModule({ imports: [..., ReactiveFormsModule, ...], ... }) export class ViewsModule {...}
To make this work you'll have to import the `ReactiveFormsModule` in your `@NgModule` which is the `ViewsModule` as your question suggests. As `FormControl` is exposed as a part of `ReactiveFormsModule` and NOT the `FormsModule`. ... import { ReactiveFormsModule, ... } from '@angular/forms'; @NgModule({ imports: [..., ReactiveFormsModule, ...], ... }) export class ViewsModule {...}

        
Present in both answers; Present only in the new answer; Present only in the old answer;