2545 Commits

Author SHA1 Message Date
Kapunahele Wong
efe8566321 docs: edit strict-mode.md to remove references for opting in ()
As of v12, strict mode is the default, so you don't have
to opt in anymore. This commit removes the instructions
to add --strict to the ng new.

PR Close 
2021-05-06 09:32:42 -04:00
David Shevitz
c472c5b872 docs: initial commit of content projection topic. ()
Content projection is an important part of Angular. However, it has
never been documented in the Angular documentation set. This topic
attempts to provide the basics of content projection for developers. It
is not a comprehensive guide; rather, it is a starting point that we
can hopefully expand upon in the future.

PR Close 
2021-05-05 13:47:27 -07:00
Kapunahele Wong
931d40b18a docs: add documentation for Angular linker ()
PR Close 
2021-05-05 13:46:59 -07:00
cexbrayat
fb38175a40 docs: remove ts-node and tslint form dev deps ()
A recent commit 3b589030a80e956509c787f6e4c07bb78b529c91 reintroduced these dev deps.
They were previously removed by  and 

PR Close 
2021-05-05 13:45:00 -07:00
Alan Agius
753fb06cef docs: remove reference to strict mode in local setup ()
This is turned on by default in version 12 and prompt has been removed.
PR Close 
2021-05-05 13:44:30 -07:00
Dylan Hunn
43cc5a126b docs: add dylhunn to contributors ()
PR Close 
2021-05-04 21:06:30 -07:00
Hugo Mejia
b3cd1280da docs: attributes for 'label' and 'input' elements were mixed up ()
A label should be 'for' an input, and an 'input' should have an 'id'.

PR Close 
2021-05-04 08:32:17 -07:00
Joey Perrott
4dae97de43 docs: update Node.js supported version statement ()
Update the statement expressing Angular's supported versions of Node.js. Previously, we stated
that the `current` version of Node.js was supported, however Node.js's `current` version maps
more closely to what we would term a `next` branch and is not expected meant for usage with
production applications. This intention is stated on Node.js Releases page:

> Production applications should only use Active LTS or Maintenance LTS releases.

PR Close 
2021-05-04 08:10:42 -07:00
David Shevitz
6d7d659919 docs: add new migration guide to v12 documentation that describes how to migrate older localization ids to new ones ()
PR Close 
2021-05-04 08:09:52 -07:00
Talha Azhar
f4be101c08 docs: fix text jargon from DI notes ()
PR Close 
2021-05-04 08:08:46 -07:00
iRealNirmal
741c295129 docs: update file structure document ()
Since angular 11 extra package.json isn't generated and with version 12 strict mode is opt out bases.
Updated document to reflect the state

Closes .

PR Close 
2021-05-03 14:26:38 -07:00
David Shevitz
3b589030a8 docs: Remove references to protractor from documentation ()
PR Close 
2021-05-03 14:26:09 -07:00
Kapunahele Wong
253ed5d484 docs: improve accessibility of form-validation example ()
PR Close 
2021-05-03 14:25:11 -07:00
Mikhail
f12d067539 docs(forms): reduce ambiguity in forms data flow wording ()
PR Close 
2021-05-03 10:01:14 -07:00
Mathias Schäfer
74da3724e4 docs: Update link to Testing Angular online book ()
The book has moved to a its own domain.
PR Close 
2021-04-30 14:34:48 -07:00
David Shevitz
b5134e2e39 docs: remove references to Trusted Types due to incompatibility with Webpack 5 ()
PR Close 
2021-04-30 14:30:31 -07:00
Igor Minar
72384a3357 fix(docs-infra): switch over to img[loading=lazy] for front page images ()
This should speed up the perceived loading latency as the image loading won't block rendering.

https://addyosmani.com/blog/lazy-loading/

PR Close 
2021-04-30 14:16:23 -07:00
Wojciech Okoński
ea89617880 docs(docs-infra): fix handling of client-side errors in networking ()
Previously example for handling client-side errors in networking didn't work when there was no Internet connection.
Caught error is ProgressEvent in such case, not ErrorEvent and error.error.message is undefined.

PR Close 
2021-04-29 13:51:42 -07:00
cexbrayat
79e82f22a5 docs: remove ts-node form dev deps ()
Follow-up to 

The CLI now no longer installs `ts-node` since Protractor has been removed.
See https://github.com/angular/angular-cli/pull/20601 for the relevant PR in angular-cli.
This change has been released in the CLI v12.0.0-rc.1

PR Close 
2021-04-29 10:08:14 -07:00
Sam Severance
d80ad951c6 docs: correct toh router tutorial ()
* `SelectivePreloadingStrategyService` is already provided in the root
   module, so it should not be added to `AppRoutingModule` providers
   array

PR Close 
2021-04-29 10:05:30 -07:00
Teri Glover
55d9713664 docs: Edits to remove jargon ()
PR Close 
2021-04-28 15:11:32 -07:00
Keen Yee Liau
c31d6ea24e docs: remove tslint, codelyzer & protractor from dev deps ()
TSLint and Codelyzer were deprecated in v11.
Protractor is no longer installed by default in new projects in v12.

PR Close 
2021-04-28 14:33:11 -07:00
Kapunahele Wong
695b72a972 docs: imrpove accessibility of lifecycle hooks example ()
PR Close 
2021-04-28 14:26:34 -07:00
Kapunahele Wong
3ccad85b01 docs: add error page for NG6999 ()
Adds page for NG6999 error for VE builds that attempt
to consume an Ivy-compiled library.
Will go here: https://angular.io/errors/NG6999

PR Close 
2021-04-28 14:22:46 -07:00
Amadou Sall
3783976543 docs: remove the section "Using components vs services from other modules" ()
This section states that "Importing a module with services means that you will have a new instance of that service". This is only true for lazy-loaded `NgModules`. For non-lazy-loaded modules, my understanding is that the providers arrays are flattened into the root injector meaning that importing a module with a service doesn't create a new instance of that service.

PR Close 
2021-04-27 10:16:49 -07:00
Kapunahele Wong
09abee359d docs: add metadata documentation to httpClient ()
PR Close 
2021-04-26 15:17:51 -07:00
Chau Tran
e47ea2959c docs: add chau tran to GDE resources ()
PR Close 
2021-04-26 15:16:40 -07:00
Pete Bacon Darwin
4b4f565df1 docs: fix links to docs with ambiguous paths ()
These docs were linking directly to docs that have ambiguous paths.
These changes ensure that these links are not affected by the
disambiguation processing of those docs.

PR Close 
2021-04-26 12:12:00 -07:00
Kapunahele Wong
01e546f116 docs: improve accessibility of architecture example ()
PR Close 
2021-04-26 09:13:49 -07:00
Kapunahele Wong
326884736e docs: make inputs-outputs example more accessible ()
PR Close 
2021-04-26 09:12:17 -07:00
Kapunahele Wong
70fb3e958b docs: improve accessibility of http example ()
PR Close 
2021-04-26 09:11:07 -07:00
Sam Severance
9f88da220c docs: Indicate HttpClientModule being imported ()
PR Close 
2021-04-23 11:38:34 -07:00
Keen Yee Liau
64567d3d39 docs: Remove Protractor test from CI examples ()
Protractor tests are no longer included in new projects starting from
Angular version 12.

PR Close 
2021-04-22 10:44:41 -07:00
Aristeidis Bampakos
dfdd4a2d74 docs: ident the library shematics guide properly ()
PR Close 
2021-04-22 08:41:01 -07:00
Kapunahele Wong
6611d5c1c9 docs: add instructions for opting into latest Language Service ()
PR Close 
2021-04-21 17:29:05 -07:00
Daniel Díaz
e238f2c33a docs: rewrites animation query () method use ()
PR Close 
2021-04-20 09:40:29 -07:00
unknown
0a19fc095d docs: add Material Design for Bootstrap to UI Component resources ()
PR Close 
2021-04-20 09:39:15 -07:00
Oluwole Majiyagbe
03f3dcb700 docs: add API CMS capability to Angular App resources ()
PR Close 
2021-04-20 09:37:50 -07:00
Pete Bacon Darwin
70341bcfed build(docs-infra): update docs examples to Angular v11.2.10 ()
This commit updates the docs examples to Angular v11.2.10. See the [diff between 11.0.1 and 11.2.10 (FW) and 11.2.9 (CLI)][1].

The changes are fairly trivial including:

- Removal of `emitDecoratorMetadata` from tsconfig.json files, where no JIT compilation is required.
- Setting `enableI18nLegacyMessageIdFormat` to `false` for CLI based applications - the i18n example was already migrated away from legacy message IDs.

[1]: https://github.com/cexbrayat/angular-cli-diff/compare/11.2.9..11.0.1

PR Close 
2021-04-19 14:18:51 -07:00
Pete Bacon Darwin
1573510187 refactor(docs-infra): tidy up systemjs boilerplate for upgrade examples ()
The ngUpgrade examples mostly rely upon SystemJS configuration.
This commit tidies up how these examples are built and tested so that
it will be easier to migrate them to work with Angular 11.2.x

PR Close 
2021-04-19 14:18:51 -07:00
Pete Bacon Darwin
e06f1960f4 docs: migrate example to use non-legacy message IDs ()
From 11.x, new projects are set up to use the latest message ID format.
This commit updates the i18n example project to stop using legacy IDs.

PR Close 
2021-04-19 14:18:51 -07:00
Bendik Skarpnes
5e343173e8 docs: fix styling issues in example CSS ()
PR Close 
2021-04-19 14:15:45 -07:00
Pierre Portejoie
fdd55c9ec7 docs: fix tutorial indicating the app is working when an error is actually displayed ()
PR Close 
2021-04-19 14:14:58 -07:00
Amadou Sall
322db1755a docs: add missing preposition in the animations guide ()
PR Close 
2021-04-19 08:35:11 -07:00
George Kalpakas
17c2f6ef07 docs: replace hair space with regular space in creating-libraries.md ()
This commit replaces a [hair space][1] with a regular space in
`creating-libraries.md`.
(You can see the hair space "in action" in the "Schematics for
Libraries" link right above the [Publishing your library][2] section.

[1]: https://en.wikipedia.org/wiki/Template:Hair_space
[2]: https://v10.angular.io/guide/creating-libraries#publishing-your-library

PR Close 
2021-04-19 08:29:44 -07:00
George Kalpakas
185090b15d docs: add missing backticks in schematics-for-libraries.md ()
PR Close 
2021-04-19 08:26:35 -07:00
Kirk Larkin
f0b80af2f2 docs: correct appUnless desc re true/false ()
PR Close 
2021-04-19 08:23:10 -07:00
George Kalpakas
d0b1f99598 docs: fix broken links to CLI wiki in the "Component styles" guide ()
Fixes 

PR Close 
2021-04-19 08:22:19 -07:00
va-stefanek
dfe52cd9e4 docs: change link to the styles configuration guide ()
PR Close 
2021-04-19 08:22:19 -07:00
Eduard Bondarenko
de25cdac54 docs: move lazy loading section to the best practices section ()
PR Close 
2021-04-16 17:27:00 -07:00