Why do we use ng-style instead of style in AngularJS for css formatting?

Viewed 4717

I started working with AngularJS for the past few days.

I just want to know why do we use ng-style when we have style tag for styling our components in static and dynamic webpages. I hope i get a solution for what we use ng-style in particular for styling in AngularJS.

3 Answers
Related