How to resolve “Data path “” should not have additional properties(es5browsersupport)” error in angular

If you have faced or are facing the below error while running your angular application, then this post is for you. Schema validation failed with the following errors: Data path…

Continue Reading How to resolve “Data path “” should not have additional properties(es5browsersupport)” error in angular

How to resolve “node_modules/rxjs/Observable” has no exported member ‘Observable’ error in angular

If you are working on an angular application, then you should have used Observable from RxJS library. It might happen that when you start using Observable, you might encounter this…

Continue Reading How to resolve “node_modules/rxjs/Observable” has no exported member ‘Observable’ error in angular

Routing in angular with example

What is angular routing A web application generally contains several pages. Example, a student management system can have a page for student registration, another page for student data modification, a…

Continue Reading Routing in angular with example

How to resolve “Could not find an NgModule. Use the skip-import option to skip importing in NgModule”

When you are generating angular components either using Operating system terminal or embedded terminal in VS Code, you might have encountered this error as shown below. F:\angular\src> ng g c…

Continue Reading How to resolve “Could not find an NgModule. Use the skip-import option to skip importing in NgModule”

How to resolve “core_1.PriorityQueue is not a constructor” in angular when creating a component or module

If you are generating angular component or module from angular cli using command ng g m [module name] and you get the error trace as below TypeError: core_1.PriorityQueue is not…

Continue Reading How to resolve “core_1.PriorityQueue is not a constructor” in angular when creating a component or module

How to set dynamic HTML content in an element in angular / How to render HTML tags in a string / How to set HTML table body dynamically

Scenario Suppose you have an empty table on an HTML page which has heading tags but its body is empty such as that given below. <table>    <thead>    …

Continue Reading How to set dynamic HTML content in an element in angular / How to render HTML tags in a string / How to set HTML table body dynamically

How to add a class dynamically to an element in angular / Class binding in angular / Change color of element on click in angular

There are times when you need to style an element or add some class to it only on a certain condition and not always. Example, on a shopping site, there…

Continue Reading How to add a class dynamically to an element in angular / Class binding in angular / Change color of element on click in angular
Page 1 of 4
1 2 3 4