block includes
include ../_util-fns
- var _angular_io = 'angular.cn';
- var __lang = _docsFor || current.path[1] || 'ts';
- var guideData = public.docs[__lang].latest.guide._data;
- var advancedLandingPage = '';
- for(var page in guideData) {
- if (!guideData[page].basics && !guideData[page].hide) { advancedLandingPage = page; break; }
- }
- var advancedUrl = './' + advancedLandingPage + '.html'
:marked
This page describes the Angular documentation at a high level.
If you're new to Angular, you may want to visit "[Learning Angular](learning-angular.html)" first.
本页是Angular文档的概述。
如果你刚接触 Angular,请先访问"[学习 Angular](learning-angular.html)"。
## Themes
## 文档结构
The documentation is divided into major thematic sections, each
a collection of pages devoted to that theme.
本文档分成几大主题区,每个区包含一组围绕自己主题的页面。
block js-alert
- var __lang = _docsFor || current.path[1] || 'ts';
- var guideData = public.docs[__lang].latest.guide._data;
- var advancedLandingPage = '';
- for(var page in guideData) {
- if (!guideData[page].basics && !guideData[page].hide) { advancedLandingPage = page; break; }
- }
- var advancedUrl = './' + advancedLandingPage + '.html'
- var top="vertical-align:top"
table(width="100%")
col(width="15%")
col
tr(style=top)
td
p QuickStart
p 快速起步
td
:marked
A first taste of Angular with zero installation.
Run "Hello World" in an online code editor and start playing with live code.
零配置第一次尝试 Angular 在在线代码编辑器中运行“Hello World”,并利用在线代码开始体验。
tr(style=top)
td
p Guide
p 指南
td
:marked
Learn the Angular basics (you're already here!) like the setup for local development,
displaying data and accepting user input, injecting application services into components,
and building simple forms.
学习 Angular 基础知识(你已经在这儿了!),比如搭建本地开发环境、显示数据和接受用户输入、注入应用程序服务到组件中,
以及构建简单表单。
tr(style=top)
td
p API Reference
p API参考手册
td
:marked
Authoritative details about each of the Angular libraries.
关于Angular库中每一个成员的详尽、权威的资料。
tr(style=top)
td
p Tutorial
p 教程
td
:marked
A step-by-step, immersive approach to learning Angular that
introduces the major features of Angular in an application context.
按部就班、沉浸式的Angular学习之旅,在应用场景中介绍了Angular的各个主要特性。
tr(style=top)
td
p Advanced
p 高级
td
:marked
In-depth analysis of Angular features and development practices.
深入分析Angular的特性和开发实践。
tr(style=top)
td
p Cookbook
p 烹饪宝典
td
:marked
Recipes for specific application challenges, mostly code snippets with a minimum of exposition.
一组解决实际应用中某些特定挑战的“菜谱”,大部分是代码片段随带少量的详细阐述。
:marked
A few early pages are written as tutorials and are clearly marked as such.
The rest of the pages highlight key points in code rather than explain each step necessary to build the sample.
You can always get the full source through the #{_liveLink}s.
少量早期页面是作为教程来写的,并被清晰的标注出来。
其它页面的目的是展示代码中的关键点,而不是解释构建这个范例所需的每一个步骤。
我们可以通过在线例子的链接找到完整的源代码。
## Code samples
## 代码例子
Each page includes code snippets from a sample application that accompanies the page.
You can reuse these snippets in your applications.
每章都包含了该章附带例子应用的代码片段。你可以在你的应用中再利用这些代码片段。
Look for a link to a running version of that sample, often near the top of the page,
such as this