Shuaib Hasan Akib
14f16226aa
refactor(common): remove unused imports and standalone: false from examples
...
Cleans up example code by removing explicit `standalone: false`, since
standalone components are the default and recommended approach.
2026-02-09 07:53:31 -08:00
Shuaib Hasan Akib
6284126da5
refactor(common): cleanup unused code in doc regions
...
Cleans unused imports and code
that is not referenced within the associated docregion blocks.
2026-01-20 16:31:10 -08:00
Matthieu Riegler
6270bba056
ci: reformat files
...
This is after we've slightly changed a rule in #66056
2025-12-16 14:44:19 -08:00
Shuaib Hasan Akib
450a38b072
refactor(common): sync examples with Angular style guide ( #64167 )
...
Updated examples to align with the latest Angular style:
- Removed `standalone: false` since it is unnecessary.
- Dropped module-based implementation in favor of standalone.
PR Close #64167
2025-10-13 08:29:44 -07:00
Matthieu Riegler
e7608e503f
docs: update API examples to modern angular ( #61688 )
...
PR Close #61688
2025-05-29 17:53:28 -04:00
Matthieu Riegler
dba912dd07
refactor(platform-browser): replace platform-browser-dynamic with platform-browser ( #61498 )
...
The former isn't needed anymore and is now deprecated.
PR Close #61498
2025-05-21 14:01:49 +00:00
Jeevan Mahesha
9deaa674e6
docs: replace EventEmitter with output and self-closing tags in templates ( #60910 )
...
Replaced all instances of EventEmitter with the new output() utility.
Updated templates to use self-closing tags for cleaner markup.
PR Close #60910
2025-04-22 21:42:18 +02:00
Johnson Chu
a6cdbec09f
refactor: remove unnecessary TSLint rule flags ( #59365 )
...
There are many TSLint rule flags in the source code that have no effect, and they can be safely removed to keep the code clean.
PR Close #59365
2025-01-07 16:06:21 +00:00
Matthieu Riegler
09df589e31
refactor(core): Migrate all packages with the explicit-standalone-flag schematic. ( #58160 )
...
All components, directives and pipes will now use standalone as default.
Non-standalone decorators have now `standalone: false`.
PR Close #58160
2024-10-14 14:58:57 +00:00
Joey Perrott
9dbe6fc18b
refactor: update license text to point to angular.dev ( #57901 )
...
Update license text to point to angular.dev instead of angular.io
PR Close #57901
2024-09-24 15:33:00 +02:00
Joey Perrott
c4b880a025
refactor: migrate docs, examples, private, service worker and upgrade to prettier formatting ( #54163 )
...
Migrate formatting to prettier for docs, examples, private, service worker and upgrade from clang-format
PR Close #54163
2024-01-30 20:08:40 +00:00
Naaajii
bb4875682d
docs: remove plnkr link from markForCheck example ( #50328 )
...
PR Close #50328
2023-05-17 08:13:54 -07:00
Naaajii
4707d5678a
docs: update live demo for change detector ( #50328 )
...
fixes #44553
PR Close #50328
2023-05-17 08:13:54 -07:00
Paul Gschwendtner
d60ebaa48a
test: update example di tests to work with es2015 ( #44505 )
...
* `forwardRef` does not work with ES2015 and TypeScript's decorator
downlevel emit. This is a known limitation we work around in Angular
applications by either compiling tests with the Angular compiler, or
by running a custom decorator downlevel transform (like in the CLI).
PR Close #44505
2022-01-05 23:20:21 +00:00
Umair Hafeez
8a67770687
docs(core): improve applicationref.bootstrap docs ( #42407 )
...
add proper examples and update usage notes
add references to the method at relevant places in the docs
PR Close #42407
2021-06-22 16:30:37 +00:00
anups1
5c0541f351
docs: fix issue 24571 in ngOnChanges ( #42517 )
...
fix issue #24571 in ngOnChanges doc
PR Close #42517
2021-06-08 12:44:30 -07:00
Pete Bacon Darwin
c2ed612da3
docs: convert the last my-app components to app-root ( #42256 )
...
Most of these were fixed in other PRs but there were are couple of stragglers.
Note that `my-app` components in non-documentation facing code, such as
compliance tests have not been changed.
Fixes #20235
PR Close #42256
2021-05-25 22:13:36 +00:00
Pete Bacon Darwin
bf505ad707
docs(core): tighten up PipeTransform example types ( #42240 )
...
The example was using `any` type but then assuming that the value was a string.
Fixes #42239
PR Close #42240
2021-05-24 17:08:34 +00:00
Chris
011a527497
docs: improve examples, description of PipeTransform ( #40863 )
...
Fixes #37321
PR Close #40863
2021-02-23 13:15:44 -08:00
Pete Bacon Darwin
4a9f7daf37
docs: remove unused "docregions" ( #40479 )
...
This commit removes all the docregion tags in examples that are not
being referenced in any doc.
PR Close #40479
2021-01-20 16:12:15 -08:00
Joey Perrott
d1ea1f4c7f
build: update license headers to reference Google LLC ( #37205 )
...
Update the license headers throughout the repository to reference Google LLC
rather than Google Inc, for the required license headers.
PR Close #37205
2020-05-26 14:26:58 -04:00
Joey Perrott
698b0288be
build: reformat repo to new clang@1.4.0 ( #36613 )
...
PR Close #36613
2020-04-14 12:08:36 -07:00
Igor Minar
1421eff382
build: re-enable template type-checking for various targets across the repo ( #34144 )
...
Various targets have their template type-checking disabled in the past.
There is no reason for this any more.
The only target that was tricky was packages/examples/core:core_examples
which was quite broken and I had to fix it up.
Template typechecking is still disabled under blaze, see FW-1753 for more
info.
PR Close #34144
2019-12-02 11:24:18 -08:00
Piotr Tomiak
a06f0340d2
docs(core): close tags in example ( #29474 )
...
PR Close #29474
2019-03-22 13:15:03 -07:00
Paul Gschwendtner
98e5af1480
build: switch example e2e tests to bazel ( #28402 )
...
* No longer builds the example e2e tests using "tsc". The examples are now built with Bazel and can therefore be built with Ivy by using the `--define=compile=aot` switch.
* No longer runs the example e2e tests using the protractor CLI. example e2e tests are executed with the Bazel protractor rule and can therefore run incrementally.
NOTE: Unit tests found within the examples are still running within the legacy jobs.
PR Close #28402
2019-01-28 19:21:09 -08:00
Judy Bogart
f1ab394218
docs: add api doc to commonly queried elements
2018-07-20 12:39:10 -07:00
Rob Wormald
3553977bd7
feat(core): add support for ShadowDOM v1 ( #24718 )
...
add a new ViewEncapsulation.ShadowDom option that uses the v1 Shadow DOM API to provide style encapsulation.
PR Close #24718
2018-07-02 14:37:41 -07:00
Miško Hevery
166d90d2a9
ci: fix broken build
2018-06-25 11:36:35 -07:00
Judy Bogart
7d318743c1
docs: test doc for decorator templates ( #23902 ) ( #23902 )
...
PR Close #23902
PR Close #23902
2018-06-25 10:49:31 -07:00
Rado Kirov
c95437f15d
build(bazel): Turning on strictPropertyInitialization for Angular. ( #24572 )
...
All errors for existing fields have been detected and suppressed with a
`!` assertion.
Issue/24571 is tracking proper clean up of those instances.
One-line change required in ivy/compilation.ts, because it appears that
the new syntax causes tsickle emitted node to no longer track their
original sourceFiles.
PR Close #24572
2018-06-25 07:57:13 -07:00
Misko Hevery
3d50fd7cac
build: add bazel test rules for remainder of packages ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Misko Hevery
47e251a80a
build: remove main() from specs ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Olivier Combe
0f5c70d563
build: update npm dependencies ( #19328 )
...
PR Close #19328
2017-09-22 13:20:52 -07:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00