docs(architecture): minor adjustments (#2994)

Minor adjustments, in particular, gets rid of custom styling in favor
of using plain markdown for pipe example. This fixes the layout for
some displays.

Followup to #2990
This commit is contained in:
Patrice Chalin 2016-12-16 10:32:48 -08:00 committed by Filipe Silva
parent b6b3ffcebb
commit 36b40dedc2
1 changed files with 12 additions and 13 deletions

View File

@ -3,12 +3,11 @@ block includes
- var _library_module = 'library module' - var _library_module = 'library module'
- var _at_angular = '@angular' - var _at_angular = '@angular'
:marked block angular-intro
Angular is a framework for building client applications in HTML and
either JavaScript or a language like TypeScript that compiles to JavaScript.
block angular-parts
:marked :marked
Angular is a framework for building client applications in HTML and
either JavaScript or a language like TypeScript that compiles to JavaScript.
The framework consists of several libraries, some of them core and some optional. The framework consists of several libraries, some of them core and some optional.
:marked :marked
@ -568,15 +567,15 @@ block registering-providers
by implementing the lifecycle hook interfaces. by implementing the lifecycle hook interfaces.
> [**Pipes**](pipes.html): Use pipes in your templates to improve the user experience by transforming values for display. Consider this `currency` pipe expression: > [**Pipes**](pipes.html): Use pipes in your templates to improve the user experience by transforming values for display. Consider this `currency` pipe expression:
<div style="margin-left:40px"> >
code-example(). > > `price | currency:'USD':true`
price | currency:'USD':true >
</div> > It displays a price of 42.33 as `$42.33`.
:marked
> It displays a price of "42.33" as `$42.33`.
> [**Router**](router.html): Navigate from page to page within the client > [**Router**](router.html): Navigate from page to page within the client
application and never leave the browser. application and never leave the browser.
> [**Testing**](testing.html): Run unit tests on your application parts as they interact with the Angular framework block angular-feature-testing
using the _Angular Testing Platform_. :marked
> [**Testing**](testing.html): Run unit tests on your application parts as they interact with the Angular framework
using the _Angular Testing Platform_.