diff --git a/aio/content/guide/architecture-next-steps.md b/aio/content/guide/architecture-next-steps.md index 10999c9e00..e44796d132 100644 --- a/aio/content/guide/architecture-next-steps.md +++ b/aio/content/guide/architecture-next-steps.md @@ -11,6 +11,8 @@ about the features and tools that can help you develop and deliver Angular appli ## Application architecture +* The [Components and templates](guide/displaying-data) guide explains how to connect the application data in your [components](guide/glossary#component) to your page-display [templates](guide/glossary#template), to create a complete interactive application. + * The [NgModules](guide/ngmodules) guide provides in-depth information on the modular structure of an Angular application. * The [Routing and navigation](guide/router) guide provides in-depth information on how to construct applications that allow a user to navigate to different [views](guide/glossary#view) within your single-page app. diff --git a/aio/content/guide/displaying-data.md b/aio/content/guide/displaying-data.md index e834530862..8229ed3e84 100644 --- a/aio/content/guide/displaying-data.md +++ b/aio/content/guide/displaying-data.md @@ -1,11 +1,20 @@ -# Displaying data +# Displaying data in views -You can display data by binding controls in an HTML template to properties of an Angular component. +Angular [components](guide/glossary#component) form the data structure of your application. +The HTML [template](guide/glossary#template) associated with a component provides the means to display that data in the context of a web page. +Together, a component's class and template form a [view](guide/glossary#view) of your application data. -In this page, you'll create a component with a list of heroes. -You'll display the list of hero names and -conditionally show a message below the list. +The process of combining data values with their representation on the page is called [data binding](guide/glossary#data-binding). +You display your data to a user (and collect data from the user) by *binding* controls in the HTML template to the data properties of the component class. +In addition, you can add logic to the template by including [directives](guide/glossary#directive), which tell Angular how to modify the page as it is rendered. + +Angular defines a *template language* that expands HTML notation with syntax that allows you to define various kinds of data binding and logical directives. +When the page is rendered, Angular interprets the template syntax to update the HTML according to your logic and current data state. +Before you read the complete [template syntax guide](guide/template-syntax), the exercises on this page give you a quick demonstration of how template syntax works. + +In this demo, you'll create a component with a list of heroes. +You'll display the list of hero names and conditionally show a message below the list. The final UI looks like this: