283 Commits

Author SHA1 Message Date
Igor Minar
5db9ab12c0
docs: fix skipTemplateCodeGen -> skipTemplateCodegen typo in the AOT compiler guide 2018-04-04 23:12:28 -07:00
Vani
4506230fbb docs: update contents to recommend new way of defining providers ()
PR Close 
2018-04-03 12:32:59 -07:00
Vani
5671ae6a58 docs: add tree-shakable providers doc ()
PR Close 
2018-04-03 12:32:39 -07:00
jenniferfell
a4bf5621ed docs: add reference to ng add in tutorial and quick reference ()
PR Close 
2018-04-03 07:38:47 -07:00
Judy Bogart
ff34d5ea7a docs: add custom elements documentation ()
PR Close 
2018-04-02 14:13:46 -07:00
Judy Bogart
de0b13d41d docs: update for hero service name change ()
PR Close 
2018-03-29 09:20:04 -07:00
Judy Bogart
07d33d4e5a docs: fix operator name ()
PR Close 
2018-03-29 09:20:04 -07:00
Judy Bogart
9f7bd8f618 docs: update text around changed obs examples ()
PR Close 
2018-03-29 09:20:04 -07:00
Veres Lajos
de90314304 style: typos fixed - https://github.com/vlajos/misspell-fixer ()
PR Close 
2018-03-27 14:51:53 -04:00
Jinhyuk Kim
f461f43d72 docs: fix a typo in aot compiler guide ()
PR Close 
2018-03-21 13:20:51 -07:00
Andrew Seguin
46efd4b938 feat(elements): George's comments ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
22b96b9690 feat(elements): add support for creating custom elements ()
PR Close 
2018-03-16 12:39:07 -07:00
Victor Berchet
0ebd577db4 refactor(compiler): Drop support for the deprecated <template>. Use <ng-template> instead ()
BREAKING CHANGE:

The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when
using Web Components).

This commit removes support for `<template>`. `<ng-template>` should be used
instead.

BEFORE:

    <!-- html template -->
    <template>some template content</template>

    # tsconfig.json
    {
      # ...
      "angularCompilerOptions": {
        # ...
        # This option is no more supported and will have no effect
        "enableLegacyTemplate": [true|false]
      }
    }

AFTER:

    <!-- html template -->
    <ng-template>some template content</ng-template>

PR Close 
2018-03-15 14:52:22 -07:00
Judy Bogart
02e6ac2117 docs: incorporate suggestions and corrections from gkalpak ()
PR Close 
2018-03-15 14:48:35 -07:00
Judy Bogart
04ca77e38e docs(aio): update architecture section ()
PR Close 
2018-03-15 14:48:35 -07:00
Ward Bell
1f9734315d docs: testing - highlight dispatchEvent ()
PR Close 
2018-03-14 10:21:41 -07:00
Kapunahele Wong
2ca77d80ec docs: refactor revert() and call to lifecylce hook, edit doc to changes ()
PR Close 
2018-03-08 10:58:42 -08:00
yerkebulan
505ae752b6 docs(aio): update deprecated Http reference to HttpClientModule, remove Http reference because another context is used ()
docs(aio): change HttpClientModule reference to HttpClient

docs(aio): capitalize Http to HTTP

docs(aio): fix typo mistake in 'universal' guide

docs(aio): gets rid of the parentheses and the "e.g." in 'universal' guide

PR Close 
2018-03-06 15:03:54 -08:00
Ward Bell
d0db9ded90 docs: fix cli-quickstart doc and specs ()
* tests were broken
* incorrect instructions.
* didn't match current CLI template for new project

PR Close 
2018-03-06 09:41:53 -08:00
SangKa.Z
3aea8fd5f3 docs(aio): fix table header ()
PR Close 
2018-03-05 10:13:16 -08:00
Kapunahele Wong
c82cef8bc6 docs: fix dynamic component loader example ()
closes 

PR Close 
2018-02-28 10:46:37 -08:00
Jason Aden
79656e7f96 docs(aio): add Observable and Rx docs ()
PR Close 
2018-02-27 11:24:31 -08:00
Olivier Combe
82a791223c docs: update i18n guide for projects that don't use the cli ()
PR Close 
2018-02-26 17:51:58 -08:00
Ward Bell
a7e1f236ff docs: testing guide for CLI ()
- updates tests
- heavy prose revisions
- uses HttpClient (with angular-in-memory-web-api)
- test HeroService using `HttpClientTestingModule`
- scrub away most By.CSS
- fake async observable with `asyncData()`
- extensive Twain work
- different take on retryWhen
- remove app barrels (& systemjs.extras) which troubled plunker/systemjs
- add dummy export const to hero.ts (plunkr/systemjs fails w/o it)
- shrink and re-organize TOC
- add marble testing package and tests
- demonstrate the "no beforeEach()" test coding style
- add section on Http service testing
- prepare for stackblitz
- confirm works in plunker except excluded marble test
- add tests for avoidFile class feature of CodeExampleComponent

PR Close 
2018-02-26 13:40:23 -08:00
Matias Niemelä
b2f366b3b7 fix(animations): only use the WA-polyfill alongside AnimationBuilder ()
This patch removes the need to include the Web Animations API Polyfill
(web-animations-js) as a dependency. Angular will now fallback to using
CSS Keyframes in the event that `element.animate` is no longer supported
by the browser.

In the event that an application does use `AnimationBuilder` then the
web-animations-js polyfill is required to enable programmatic,
position-based access to an animation.

Closes 

PR Close 
2018-02-22 16:07:53 -08:00
Kapunahele Wong
9eecb0b27f docs: fix deployment sample path ()
PR Close 
2018-02-22 13:40:57 -08:00
Kapunahele Wong
022ad4a420 docs: fix ngmodules-jsmodules pre-req ()
closes 

PR Close 
2018-02-22 11:20:47 -08:00
Kapunahele Wong
a4f9e8180b docs: edit styleguide recommendation on components as elements ()
Change recommendation on using attributes for components since there are use cases including the use of <button mat-button> in MD

Closes .

PR Close 
2018-02-22 11:20:21 -08:00
Marco Alvarado
b42921bbd2 docs(aio): updates directive event hooks real capabilities ()
Minor documentation update to include event hooks that were assumed to only work on components.

Closes angular/angular#10221

PR Close 
2018-02-21 14:51:04 -08:00
zhilich
722dec11b0 docs(aio): Wrong code example. Form status field was added later in the guide. ()
PR Close 
2018-02-21 11:06:47 -08:00
Kapunahele Wong
1c1cbba04b docs: add ngStyle to cheat sheet ()
PR Close 
2018-02-20 16:08:15 -08:00
Oussama Ben Brahim
f1a063298e feat(core): set preserveWhitespaces to false by default ()
Fixes 

PR Close 
2018-02-16 09:06:14 -08:00
Kapunahele Wong
3a0b5a928c docs(aio): fix extraneous divs ()
PR Close 
2018-02-14 15:02:36 -05:00
Oussama Ben Brahim
eb48750705 docs(aio): fix typo in "preserveWhitespaces" example ()
Fixes 

PR Close 
2018-02-12 15:57:42 -08:00
Suguru Inatomi
88bec238ac fix(aio): remove broken span closing tag ()
PR Close 
2018-02-12 10:01:10 -08:00
Mikhail Burshteyn
c3484450b8 docs: fix typo in http.md ()
PR Close 
2018-02-09 13:10:23 -08:00
Pete Bacon Darwin
7007f51c35 feat(aio): first pass API docs redesign ()
Includes:

* display ToC for API docs
* update dgeni-packages to 0.24.1
* add floating sidebar in API docs
* add breadcrumbs and structured data for Google crawler
* improved rendering of method overloads
* properties rendered in a table
* params rendered with docs
* removal of outdated "infobox" from all API docs

PR Close 
2018-02-09 13:05:16 -08:00
Trotyl
bc1e22922a docs(aio): several fix for ngmodule guides ()
PR Close 
2018-02-09 13:03:47 -08:00
Kapunahele Wong
83d43ac850 docs(aio): remove lifecycle hooks img ()
PR Close 
2018-02-07 16:09:44 -08:00
Chuck Jazdzewski
b37cee36f9 fix(language-service): correct instructions to install the language service ()
Fixes: 

PR Close 
2018-02-07 12:09:00 -08:00
Aric Thorn
cd4c0eab94 docs(forms): Custom Validator example selector name incorrect. ()
Name of selector in ForbiddenName example is not consistent with Validator class nor Html selector example. Added the selector name 'appForbiddenName' as an alias name for the input of the Validator class, and updated the view accordingly.

Fixes: 

PR Close 
2018-02-07 12:01:12 -08:00
Judy Bogart
9d3326caa7 docs: clarify npm/yarn commands, add blank lines to mix md/html in table ()
PR Close 
2018-02-05 13:02:14 -08:00
Judy Bogart
1940b18124 docs: update browser support ()
PR Close 
2018-02-05 13:02:13 -08:00
Jannis Lehmann
7b120b5f73 docs: consistency fix in describing a custom tag ()
PR Close 
2018-02-02 07:53:18 -08:00
Pete Bacon Darwin
de25d1886e docs(aio): update docs changelog with links to ts-to-js guide ()
PR Close 
2018-02-02 07:52:30 -08:00
JiaLi.Passion
447783e575 docs: add docs for IE ()
PR Close 
2018-02-02 07:51:46 -08:00
musicq
d3c2aa5f95 docs: add missing underline ()
PR Close 
2018-02-02 07:49:32 -08:00
yerkebulan
f9fa157a09 docs(aio): add missing closing <code-examle> tag ()
PR Close 
2018-02-01 08:31:20 -08:00
Alex Rickabaugh
db3e65fb17 docs(service-worker): describe safety-worker.js in SW guide ()
PR Close 
2018-01-31 10:25:14 -08:00
Ward Bell
7a20691f13 docs: add http guide sample and adjust text ()
PR Close 
2018-01-31 10:24:43 -08:00