Why use Angular? - lordoftheflies/angular-essential-training GitHub Wiki
Selecting transcript lines in this section will navigate to timestamp in the video
- So what advantages does Angular bring to the table and why would you want to use it? Building a static content site allows you to use HTML and CSS and possibly some server side code. But as soon as you want to add interactivity and data collection or modification, you find the need to jump into using some JavaScript. And when you start using JavaScript, you can quickly find yourself wanting some type of standard framework for managing common functionality you start writing throughout your site. Angular provides a base for providing rich client-side applications with a specialization on data binding. So when your web app needs to update content in your UI as a user enters or modifies it, you can easily do that with Angular. Angular has a component architecture inspired by web components. So when your web app has a common UI element, and elements with complex functionality, you can write them in Angular and get ease of reuse as well as modularity. The Angular framework is not just about making the UI shine in this functionality. A clean dependency injection architecture is baked into the framework. So when you want to write business logic in your client-side code and keep it decoupled from your view logic, Angular dependency injection model makes it easy. And if you want to go beyond just a couple of forms and craft complex client-side single-page applications, Angular is primed with a router module that will allow to create parent and child routes to components. In short, Angular provides you the ability to create build client-side web applications, even native applications, and manage their complexity over time.