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
Alan Agius
7de7c52769
build: remove usages of useDefineForClassFields: false ( #58297 )
...
When setting `"useDefineForClassFields": false`, static fields are compiled within a block that relies on the `this` context. This output makes it more difficult for bundlers to treeshake and eliminate unused code.
PR Close #58297
2024-10-28 12:26:05 -07: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
Kristiyan Kostadinov
359103274b
test: clean up more entryComponents usages ( #44561 )
...
Cleans up some more tests that were using `entryComponents`.
PR Close #44561
2022-01-06 18:36:22 +00: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
Sonu Kapoor
7fb66eca25
docs: changes AoT to AOT for consistency ( #35112 )
...
PR Close #35112
2020-02-04 10:43:33 -08:00
Pete Bacon Darwin
3fb78aaacc
feat(upgrade): provide unit test helpers for wiring up injectors ( #16848 )
...
Adds two new helper functions that can be used when unit testing Angular services
that depend upon upgraded AngularJS services, or vice versa.
The functions return a module (AngularJS or NgModule) that is configured to wire up
the Angular and AngularJS injectors without the need to actually bootstrap a full
hybrid application.
This makes it simpler and faster to unit test services.
PR Close #16848
2019-06-20 17:04:01 -07:00
George Kalpakas
abed2cd52c
refactor(upgrade): fix examples for strictPropertyInitialization and remove internal comments ( #18487 ) ( #18487 )
...
PR Close #18487
PR Close #18487
2018-06-27 15:01:47 -07:00
Peter Bacon Darwin
bb6b59128f
docs(upgrade): use a class for upgraded service ( #18487 ) ( #18487 )
...
This makes the resulting use in Angular more ideomatic, since we can just
use the class type as the injection indicator.
PR Close #18487
PR Close #18487
2018-06-27 15:01:47 -07:00
Georgios Kalpakas
2ac2ab7ff6
docs(upgrade): add API docs for downgradeModule() ( #18487 ) ( #18487 )
...
PR Close #18487
PR Close #18487
2018-06-27 15:01:47 -07:00