Top "Angular5" questions

Questions about Angular version 5, the web framework from Google.

Error: Schema validation failed with the following errors: Data path "" should NOT have additional properties(project)

After migrating application from angular 5 to 6, on running ng serve the following errors pop up. Schema validation failed with the …

angular typescript migration angular5 angular6
Angular 5: "No provider for ControlContainer"

I have a little web app with Angular 5 and out of a sudden I am getting this strange error message …

angular angular5
How to call JavaScript functions from Typescript in Angular 5?

I'm working on PDF Viewer development in Angular 5. I'm done with writing HTML code for the UI part. Now I've …

javascript angular typescript angular5
Angular - Read a file and parse its content

I have file upload control which holds the selected file as below, <div class="Block"> <label id="…

angular angular5
NullInjectorError: No provider for MatDialogRef

I can't inject MatDialogRef as it described in documentation: https://material.angular.io/components/dialog/overview When i'm trying to …

angular typescript angular-material angular5
Expected validator to return Promise or Observable

Im trying to do a custom validation on Angular 5 but I'm facing the following error Expected validator to return Promise …

javascript angular angular5 angular-forms angular-validation
Angular 5 Mat-grid list responsive

i created grid list with column 6 and i want to be grid title take 100% width on small screen devices. Now …

angular angular-material angular5
No provider for ControlContainer - Angular 5

I am converting a purchased, third-party template into an Angular 5 app, and just ran into an error. I am very …

angular angular5 angular-components angular-forms
Web API Error - This request has been blocked; the content must be served over HTTPS

We have deployed the api on azure and trying to consume in our web app written in angular 5. However when …

azure asp.net-web-api angular5 mixed-content
Angular 5 service failing to pass unit tests with (NullInjectorError: No provider for HttpClient!)

I keep getting the following errors when running unit tests Error: StaticInjectorError(DynamicTestModule)[ApiService -> HttpClient]: StaticInjectorError(Platform: core)[…

angular unit-testing typescript angular5