ANGULAR Introduction
ANGULAR
Angular is a JavaScript framework that builds web applications as Single Page Applications (SPA).
Angular in web applications
➔ Angular is JavaScript MVC framework for the web applications.
➔ Angular provides SPA capabilities to webpages so that page navigation happens smoothly and behaves like a native page without having to refresh.
➔ It extends the capabilities of HTML and makes it dynamic.
Client Side Framework
➔ Angular is a component-oriented client-side framework that uses declarative HTML templates.
➔ This JavaScript frameworks has made it much easier to build highly dynamic, interactive web applications.
➔ Angular is one of the most popular client side development solutions besides React and Vue.js.
Angular Fundamental Concepts
➔ Angular architecture is built on some fundamental concepts that encourage modularity, reusability, maintainability, and dependency injection.
➔ Components: Components are the basic building blocks of an Angular application. Each component consists of a TypeScript class, an HTML template with styles to represent the component view.
➔ Template: A template is a view of the component with data from the model.
➔ Data Binding: Data binding allows data to be automatically synchronized between the component and the component template, this binding can be a one-way binding or a two-way binding depending on the requirement.
➔ Directives: Directives are markers and they allow Angular to change the DOM structure or behavior of an HTML element.
➔ Services: Angular Services are classes that are used to share logic or data between different components.
➔ Dependency injection: Dependency injection is a design pattern that makes it easy for an application to inject services into components of the application.
➔ Routing: Angular routing enables client-side navigation between views of different elements without page reloads.