DEV Community

Cover image for The introduction to Angular you may be missing

The introduction to Angular you may be missing

Michael De Abreu on April 11, 2018

What is Angular Angular is a framework to develop Single Page Applications, based on TypeScript. It is developed by the Angular Team in ...
Collapse
 
danielfrugoni profile image
DanielFrugoni

Mix Angular 7 with Bootstrap, for me is a winner. I do that, works great and looks good !

Collapse
 
michaeljota profile image
Michael De Abreu

I have worked with both, but sometimes it still feels kind of tricky because Bootstrap stills depends upon jQuery officially. You have some community Angular components, witch is nice.

Collapse
 
danielfrugoni profile image
DanielFrugoni

I use Material too, but need some works from Angular, I asume next version will come with nice ideas from them.

Collapse
 
rksmcts profile image
Ravi Kant Singh

How to get value from one component to another component.

Hey I'm new to Angular but great with DOTnet.As we make SESSION in the ASP.net and that SESSION we can fetch at every page, similarly is there any things thru which we can retrieve value on page.

eg. Like LOGIN page, the person ID who logged we can get it any page.

tags: Angular

Collapse
 
michaeljota profile image
Michael De Abreu

You could use either input properties, or a service to manage the application state. A single service maybe good if your app is really small, but if your app gets larger you may want look into ngrx. That is an implementation of Redux for Angular, really well done and it integrates very well with Angular.

I wrote a little example of the first approach here:

Also, I wrote an opinionated style guide about ngrx:

Collapse
 
cristiano profile image
cristiano

The notes on decorators and observables were really helpful to me in understanding them. Thank you for sharing this. 🙇🏻‍♂️

Collapse
 
hashimebrahim profile image
Hashim Maliakkal

Wonderful article!
Good one!

Collapse
 
jeexan2 profile image
Jysan Aziz

That's really an appreciable writing about angular. Good one!

Collapse
 
aarondrs profile image
Aaron Rodríguez

Really good job explaining Angular.

Collapse
 
suvi profile image
Suvendu Karmakar

It was a good read. Great job !. Although I would've benefited more , had it included a more detailed section about state management.

Collapse
 
michaeljota profile image
Michael De Abreu

Thanks! I agree, there should be more about how to manage the state in Angular, but there are several approaches and almost all of them are using services at the end.