Sharing Top Content from the Angular-sphere.
Browsing Tag

application

Observables With Angular 5

If something unexpected occurs, we can use the observable error function in our subscription to check what went wrong.In this code, whenever we use the reactive forms, every field is considered to be an observable.The output for this code is below: - - There is a good chance that we will…
Read More...

Getting to Know the @Attribute Decorator in Angular

Getting to Know the @Attribute Decorator in AngularThe @Attribute decorator is one of the least known and least used, but in some cases, it can bring a performance boost to the application.The @Attribute decorator returns the value of the…

Routing And Navigation With Angular 5

For this let’s add 3 component in the application Namely Home, Employee and Department our goal is to load the following pages below is the routing table for the configuration, - - In this let’s see the basic import that we need to do so…

Basics Of Angular And Its Versions

For instance, if a class is decorated with an @NgModule decorator, then the class is called as a module and if a class is decorated with an @Component decorator, then the class is called as a component.It is nothing but a form of HTML…