AngularJS and Angular main differences
AngularJS is kept for Angular 1.x versioning and in higher versions only name is kept Angular.
After this brief explanation of the names (I hope you have not confused them anymore), we will see a little more in-depth what is Angular.
Let’s talk a little bit about how Angular is built into your core
Angular is built so that we can create our applications as a single page application
User in medium JJE Programming JJE programming
Now, once we start working in Angular, we already have access to the main module called core with which we can run our first and simple application with its components. Here I want to clarify that Angular works everything under components. A component can be a section or a header, whatever we want to show, it can be as small or large as we want but, in general, they are usually parts of the front that is not only shown, in one place but to be able to To use these components, they must be part of a module.
So, we have an application that consists of modules. In turn, each module contains components that we can use.
But we will not only use modules and components, but we will also use:
- HTML templates with angular tags.
- Class components that manage templates.
- Services that encapsulate application logic.
- And the modules, as I said, that organize the components but also the services.
Here below we can see an image with the architecture of an angular application:
A key tool to work with Angular would be its CLI (command line interface), which allows the creation of applications, providing us with a base structure with the necessary files for the code skeleton and allowing us to originate them in a standardized directory structure with command lines.
As we have seen, Angular is a framework that makes it easy for us to create web applications that can be easily scaled. Using it efficiently and knowing its operation, we can create impressive applications.
There are a lot of issues that I’m still leaving out and that I don’t name here. That highlights how great this framework … we will see that in the future.