What is AngularJS?
AngularJS is an open source web application framework first developed in 2009 by Misko Hori and Adam Abrons. This framework is currently being developed by Google and its latest version is 1.4.3.
Based on the official AngularJS documentation, it is defined as follows:
It is a framework built for dynamic web applications. In addition to allowing you to use HTML to design templates, Angular allows you to extend HTML syntax so that you can articulate the details of web applications.
It is a framework for designing one-page websites and web applications. You may have heard about Angular many times. There are many terms about this framework. If you are unfamiliar with these terms, take a few minutes to learn them.
First of all
AngularJS is a framework. The framework allows you to write your code technically and optimally, modify it, and implement standard settings on it. By doing this you can use some of the features of the framework. Angular means filtering filters, combining two-way data and so on.
If you have worked with Bootstrap or jQuery Mobile, you are probably familiar with this method of building your site, you can have your own unique and unique method. Angular GS is designed to create a single-page web application. This means that the browser will load it regardless of the size of your page. Additional content will be loaded in the app as needed so do not worry if you could not load the entire page. In some ways to speed up the loading of your site, instead of the entire page loads all the content it needs.
So in a real program that looks something like this, you have an index.html page that you can see how short it is. To understand what your application might look like, use the section that shows not only the original document but also some of the data you need to use in your application, and click on any of these options for details. You will be displayed and click on any of the icons to get the desired data.
If your pages do not load, you can be sure that your system is doing something else, such as loading content slowly.
Why use AngularJs?
One of the features of a good engine is that it allows you to write templates with special html tags, Angular moves these tags with data. For example, we have special tags like the previous item and the next item. These tags are in parentheses and you can use them to insert the artists image into your template. This is where you can enter the description of the photo. One tag We can show all the tags that link to the data to turn into a page like this page Unlike other formatting engines, Angular does not force you to create a template separately like other libraries Your template is a separate section Is invalid from html.
Another great feature of html is how it works with the document model. In older applications, you should not worry about an event occurring.
Angular also includes commands for loading external data with ajax functionality. So you can easily upload ajax documents.
In MVC architecture, your data is known as a model. The information we need may come from an external data structure or an external json document or even a database.
Whenever you hear about Views in MVC, be aware that a template will be assigned to your data.
Other Angular Features:
Angular uses a feature as a directive that you can use in html. Directives can be used scattered throughout your html. These commands tell Angular what to do. Commands start with the letter ng and then with a line.
Connecting the data makes the template more efficient. You can create a place to produce content and then relate it to the data information.
Angular has a filtering language that can organize data in a specific way or easily modify it with form elements.
Paths are at the core of a one-page application that allows you to split your template into several sections. This is a feature that is present in different parts of your application.