"Getting MEAN with Mongo Express Angular and Node"---ch08 Adding Angular components to an express application (add to express app Angular components)

Source: Internet
Author: User

This chapter covers (summary of this chapter)
Getting to know Angular (learn angrular)
Adding Angular to an existing page (add Angular to dynamic page)
Filtering Lists of data (filter list)
Using a API for reading data (read with API)
Some Angular jargon:controllers, scope, filters,directives, services (some Angular terminology: controllers, scopes, filters, directives, service)

...

...

8.1 Getting Angular up and running

Angular is the second JavaScript framework on the MEAN stack, with Express being the other. Express, as we ' ve seen, sits on the server, whereas Angular sits on the client side in the browser. Like Express, Angular helps-separate your concerns, dealing with views, data, and logic in distinct areas. The approach is very much in the MVC style, but Angular have been defined as an MVW framework, where the W stands for "What Ever works for you. " Sometimes it might be controllers, or the View-model, or services. It depends on "doing at any given point."

In the mean stack, two JS frames are used, one is express and the other is angular. As we can see, the Express scopes the server side, while angular is the scope browser client. Like Express, angular helps you break down the views, data, and business logic that you care about into different areas. This approach is a lot of MVC style, however angular is defined as the MVW style framework, where W stands for "Whatever worksfor you". Sometimes it can be as a controller, view-model, server, depending on your focus.

...

Angular is a client-side the framework, so it doesn ' t take much installation.

"Getting MEAN with Mongo Express Angular and Node"---ch08 Adding Angular components to an express application (add to express app Angular components)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.