Hey in this blog I will talk about what is Angular JS so keep reading and you will know how it works.
So let’s understand what Angular JS is.
Angular JS, your thoughts in the comment section down below.
And Angular JS is commonly called as “Angular”
Angular is a component-based front end framework. In Angular, you can create reusable components, and to build component you only need to worry about a template and some sort of data that needs to fill that Template. You can also find ready to use angular templates to make your time easier.
You can also create components in isolation you can use them all over the place and it really helps when you develop large-scale applications.
Important Features that Angular provide
Angular has a built-in dependency injection. It allows you to unit test because any time your unit test let’s say a component which you can really call module you want to make sure that, that module which typically depends on other outside modules. So for example, if you have one module that needs an HTTP module that makes HTTP requests well if I want to test this service here in isolation but it depends on an outside module then I can’t do that you know I have to do something with that module so what dependency injection allows you to do is the dependency injection activator or a thing that goes out and pulls that service in and provide it for your module. Well, you can tell it to mock it in a unit test, and in production, you could tell it to give it the actual module.
Advantages of Angular JS.
- It is maintained by Google.
- Easy to extend and customize.
- Built-in dependency injection.
- Very easy to unit test.
So that’s all from this blog I hope you like it and if you did then don’t forget to share this blog with your friends. You can also share your thoughts in the comment section down below.