_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
angular/adev/src/content/guide/animations/reusable-animations.md_0_1949 | # Reusable animations
This topic provides some examples of how to create reusable animations.
## Create reusable animations
To create a reusable animation, use the [`animation()`](api/animations/animation) function to define an animation in a separate `.ts` file and declare this animation definition as a `const` exp... | {
"end_byte": 1949,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/guide/animations/reusable-animations.md"
} |
angular/adev/src/content/guide/animations/complex-sequences.md_0_9717 | # Complex animation sequences
So far, we've learned simple animations of single HTML elements.
Angular also lets you animate coordinated sequences, such as an entire grid or list of elements as they enter and leave a page.
You can choose to run multiple animations in parallel, or run discrete animations sequentially, ... | {
"end_byte": 9717,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/guide/animations/complex-sequences.md"
} |
angular/adev/src/content/guide/animations/route-animations.md_0_9208 | # Route transition animations
When a user navigates from one route to another, the Angular Router maps the URL path to the relevant component and displays its view. Animating this route transition can greatly enhance the user experience. The Router has support for the View Transitions API when navigating between route... | {
"end_byte": 9208,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/guide/animations/route-animations.md"
} |
angular/adev/src/content/guide/animations/transition-and-triggers.md_0_8230 | # Animation transitions and triggers
This guide goes into depth on special transition states such as the `*` wildcard and `void`. It shows how these special states are used for elements entering and leaving a view.
This section also explores multiple animation triggers, animation callbacks, and sequence-based animatio... | {
"end_byte": 8230,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/guide/animations/transition-and-triggers.md"
} |
angular/adev/src/content/guide/animations/transition-and-triggers.md_8230_17293 | ultiple animation triggers
You can define more than one animation trigger for a component.
Attach animation triggers to different elements, and the parent-child relationships among the elements affect how and when the animations run.
### Parent-child animations
Each time an animation is triggered in Angular, the par... | {
"end_byte": 17293,
"start_byte": 8230,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/guide/animations/transition-and-triggers.md"
} |
angular/adev/src/content/guide/animations/BUILD.bazel_0_2195 | load("//adev/shared-docs:index.bzl", "generate_guides")
generate_guides(
name = "animations",
srcs = glob([
"*.md",
]),
data = [
"//adev/src/content/examples/animations:src/app/animations.1.ts",
"//adev/src/content/examples/animations:src/app/animations.ts",
"//adev/src/... | {
"end_byte": 2195,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/guide/animations/BUILD.bazel"
} |
angular/adev/src/content/ecosystem/web-workers.md_0_2418 | # Background processing using web workers
[Web workers](https://developer.mozilla.org/docs/Web/API/Web_Workers_API) let you run CPU-intensive computations in a background thread, freeing the main thread to update the user interface.
Application's performing a lot of computations, like generating Computer-Aided Design ... | {
"end_byte": 2418,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/web-workers.md"
} |
angular/adev/src/content/ecosystem/BUILD.bazel_0_187 | load("//adev/shared-docs:index.bzl", "generate_guides")
generate_guides(
name = "ecosystem",
srcs = glob([
"*.md",
]),
visibility = ["//adev:__subpackages__"],
)
| {
"end_byte": 187,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/BUILD.bazel"
} |
angular/adev/src/content/ecosystem/service-workers/push-notifications.md_0_4545 | # Push notifications
Push notifications are a compelling way to engage users.
Through the power of service workers, notifications can be delivered to a device even when your application is not in focus.
The Angular service worker enables the display of push notifications and the handling of notification click events.... | {
"end_byte": 4545,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/service-workers/push-notifications.md"
} |
angular/adev/src/content/ecosystem/service-workers/overview.md_0_8252 | # Angular service worker overview
Service workers augment the traditional web deployment model and empower applications to deliver a user experience with the reliability and performance on par with code that is written to run on your operating system and hardware.
Adding a service worker to an Angular application is o... | {
"end_byte": 8252,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/service-workers/overview.md"
} |
angular/adev/src/content/ecosystem/service-workers/app-shell.md_0_2153 | # App shell pattern
The [App shell pattern](https://developer.chrome.com/blog/app-shell) is a way to render a portion of your application using a route at build time.
It can improve the user experience by quickly launching a static rendered page (a skeleton common to all pages) while the browser downloads the full cli... | {
"end_byte": 2153,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/service-workers/app-shell.md"
} |
angular/adev/src/content/ecosystem/service-workers/communications.md_0_7529 | # Communicating with the Service Worker
Enabling service worker support does more than just register the service worker; it also provides services you can use to interact with the service worker and control the caching of your application.
## `SwUpdate` service
The `SwUpdate` service gives you access to events that ... | {
"end_byte": 7529,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/service-workers/communications.md"
} |
angular/adev/src/content/ecosystem/service-workers/getting-started.md_0_6783 | # Getting started with service workers
This document explains how to enable Angular service worker support in projects that you created with the [Angular CLI](tools/cli). It then uses an example to show you a service worker in action, demonstrating loading and basic caching.
## Adding a service worker to your project... | {
"end_byte": 6783,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/service-workers/getting-started.md"
} |
angular/adev/src/content/ecosystem/service-workers/config.md_0_8374 | # Service Worker configuration file
This topic describes the properties of the service worker configuration file.
## Modifying the configuration
The `ngsw-config.json` JSON configuration file specifies which files and data URLs the Angular service worker should cache and how it should update the cached files and dat... | {
"end_byte": 8374,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/service-workers/config.md"
} |
angular/adev/src/content/ecosystem/service-workers/config.md_8374_16267 | ataGroups`
Unlike asset resources, data requests are not versioned along with the application.
They're cached according to manually-configured policies that are more useful for situations such as API requests and other data dependencies.
This field contains an array of data groups, each of which defines a set of data... | {
"end_byte": 16267,
"start_byte": 8374,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/service-workers/config.md"
} |
angular/adev/src/content/ecosystem/service-workers/config.md_16267_19806 | s`
This optional section enables you to specify a custom list of URLs that will be redirected to the index file.
#### Handling navigation requests
The ServiceWorker redirects navigation requests that don't match any `asset` or `data` group to the specified [index file](#index).
A request is considered to be a naviga... | {
"end_byte": 19806,
"start_byte": 16267,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/service-workers/config.md"
} |
angular/adev/src/content/ecosystem/service-workers/BUILD.bazel_0_638 | load("//adev/shared-docs:index.bzl", "generate_guides")
generate_guides(
name = "service-workers",
srcs = glob([
"*.md",
]),
data = [
"//adev/src/content/examples/service-worker-getting-started:src/app/check-for-update.service.ts",
"//adev/src/content/examples/service-worker-get... | {
"end_byte": 638,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/service-workers/BUILD.bazel"
} |
angular/adev/src/content/ecosystem/service-workers/devops.md_0_9737 | # Service worker devops
This page is a reference for deploying and supporting production applications that use the Angular service worker.
It explains how the Angular service worker fits into the larger production environment, the service worker's behavior under various conditions, and available resources and fail-saf... | {
"end_byte": 9737,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/service-workers/devops.md"
} |
angular/adev/src/content/ecosystem/service-workers/devops.md_9737_18133 | ## Debugging the Angular service worker
Occasionally, it might be necessary to examine the Angular service worker in a running state to investigate issues or whether it's operating as designed.
Browsers provide built-in tools for debugging service workers and the Angular service worker itself includes useful debugging... | {
"end_byte": 18133,
"start_byte": 9737,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/ecosystem/service-workers/devops.md"
} |
angular/adev/src/content/tools/devtools.md_0_7623 | # DevTools Overview
Angular DevTools is a browser extension that provides debugging and profiling capabilities for Angular applications.
<docs-video src="https://www.youtube.com/embed/bavWOHZM6zE"/>
Install Angular DevTools from the [Chrome Web Store](https://chrome.google.com/webstore/detail/angular-developer-tools... | {
"end_byte": 7623,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/devtools.md"
} |
angular/adev/src/content/tools/devtools.md_7623_16210 | ## Profile your application
The **Profiler** tab lets you visualize the execution of Angular's change detection.
This is useful for determining when and how change detection impacts your application's performance.
<img src="assets/images/guide/devtools/profiler.png" alt="A screenshot of the 'Profiler' tab which reads... | {
"end_byte": 16210,
"start_byte": 7623,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/devtools.md"
} |
angular/adev/src/content/tools/BUILD.bazel_0_183 | load("//adev/shared-docs:index.bzl", "generate_guides")
generate_guides(
name = "tools",
srcs = glob([
"*.md",
]),
visibility = ["//adev:__subpackages__"],
)
| {
"end_byte": 183,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/BUILD.bazel"
} |
angular/adev/src/content/tools/language-service.md_0_8127 | # Angular Language Service
The Angular Language Service provides code editors with a way to get completions, errors, hints, and navigation inside Angular templates.
It works with external templates in separate HTML files, and also with in-line templates.
## Configuring compiler options for the Angular Language Servic... | {
"end_byte": 8127,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/language-service.md"
} |
angular/adev/src/content/tools/libraries/angular-package-format.md_0_10358 | # Angular package format
This document describes the Angular Package Format \(APF\).
APF is an Angular specific specification for the structure and format of npm packages that is used by all first-party Angular packages \(`@angular/core`, `@angular/material`, etc.\) and most third-party Angular libraries.
APF enables... | {
"end_byte": 10358,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/libraries/angular-package-format.md"
} |
angular/adev/src/content/tools/libraries/angular-package-format.md_10358_15853 | ished in "partial compilation" mode.
This is a compilation mode for `ngc` which produces compiled Angular code that is not tied to a specific Angular runtime version, in contrast to the full compilation used for applications, where the Angular compiler and runtime versions must match exactly.
To partially compile Angu... | {
"end_byte": 15853,
"start_byte": 10358,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/libraries/angular-package-format.md"
} |
angular/adev/src/content/tools/libraries/angular-package-format.md_15853_20032 | ionally.
In this section are the definitions of all of them to provide additional clarity.
### Package
The smallest set of files that are published to NPM and installed together, for example `@angular/core`.
This package includes a manifest called package.json, compiled source code, typescript definition files, sourc... | {
"end_byte": 20032,
"start_byte": 15853,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/libraries/angular-package-format.md"
} |
angular/adev/src/content/tools/libraries/overview.md_0_2925 | # Overview of Angular libraries
Many applications need to solve the same general problems, such as presenting a unified user interface, presenting data, and allowing data entry.
Developers can create general solutions for particular domains that can be adapted for re-use in different applications.
Such a solution can ... | {
"end_byte": 2925,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/libraries/overview.md"
} |
angular/adev/src/content/tools/libraries/creating-libraries.md_0_9256 | # Creating libraries
This page provides a conceptual overview of how to create and publish new libraries to extend Angular functionality.
If you find that you need to solve the same problem in more than one application \(or want to share your solution with other developers\), you have a candidate for a library.
A sim... | {
"end_byte": 9256,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/libraries/creating-libraries.md"
} |
angular/adev/src/content/tools/libraries/creating-libraries.md_9256_17467 | anaging assets in a library
In your Angular library, the distributable can include additional assets like theming files, Sass mixins, or documentation \(like a changelog\).
For more information [copy assets into your library as part of the build](https://github.com/ng-packagr/ng-packagr/blob/master/docs/copy-assets.md... | {
"end_byte": 17467,
"start_byte": 9256,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/libraries/creating-libraries.md"
} |
angular/adev/src/content/tools/libraries/using-libraries.md_0_7431 | # Usage of Angular libraries published to npm
When you build your Angular application, take advantage of sophisticated first-party libraries, as well as a rich ecosystem of third-party libraries.
[Angular Material][AngularMaterialMain] is an example of a sophisticated first-party library.
## Install libraries
Librar... | {
"end_byte": 7431,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/libraries/using-libraries.md"
} |
angular/adev/src/content/tools/libraries/BUILD.bazel_0_287 | load("//adev/shared-docs:index.bzl", "generate_guides")
generate_guides(
name = "libraries",
srcs = glob([
"*.md",
]),
data = [
"//adev/src/content/examples/angular-linker-plugin:webpack.config.mjs",
],
visibility = ["//adev:__subpackages__"],
)
| {
"end_byte": 287,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/libraries/BUILD.bazel"
} |
angular/adev/src/content/tools/cli/environments.md_0_7269 | # Configuring application environments
You can define different named build configurations for your project, such as `development` and `staging`, with different defaults.
Each named configuration can have defaults for any of the options that apply to the various builder targets, such as `build`, `serve`, and `test`.
... | {
"end_byte": 7269,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/environments.md"
} |
angular/adev/src/content/tools/cli/overview.md_0_2595 | # The Angular CLI
The Angular CLI is a command-line interface tool which allows you to scaffold, develop, test, deploy, and maintain Angular applications directly from a command shell.
Angular CLI is published on npm as the `@angular/cli` package and includes a binary named `ng`. Commands invoking `ng` are using the ... | {
"end_byte": 2595,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/overview.md"
} |
angular/adev/src/content/tools/cli/schematics-for-libraries.md_0_6077 | # Schematics for libraries
When you create an Angular library, you can provide and package it with schematics that integrate it with the Angular CLI.
With your schematics, your users can use `ng add` to install an initial version of your library,
`ng generate` to create artifacts defined in your library, and `ng updat... | {
"end_byte": 6077,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/schematics-for-libraries.md"
} |
angular/adev/src/content/tools/cli/schematics-for-libraries.md_6077_12002 | ## Providing generation support
You can add a named schematic to your collection that lets your users use the `ng generate` command to create an artifact that is defined in your library.
We'll assume that your library defines a service, `my-service`, that requires some setup.
You want your users to be able to generat... | {
"end_byte": 12002,
"start_byte": 6077,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/schematics-for-libraries.md"
} |
angular/adev/src/content/tools/cli/schematics-for-libraries.md_12002_18919 | ## Define a generation rule
You now have the framework in place for creating the code that actually modifies the user's application to set it up for the service defined in your library.
The Angular workspace where the user installed your library contains multiple projects \(applications and libraries\).
The user can ... | {
"end_byte": 18919,
"start_byte": 12002,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/schematics-for-libraries.md"
} |
angular/adev/src/content/tools/cli/setup-local.md_0_6110 | # Setting up the local environment and workspace
This guide explains how to set up your environment for Angular development using the [Angular CLI](cli "CLI command reference").
It includes information about installing the CLI, creating an initial workspace and starter app, and running that app locally to verify your ... | {
"end_byte": 6110,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/setup-local.md"
} |
angular/adev/src/content/tools/cli/schematics.md_0_7829 | # Generating code using schematics
A schematic is a template-based code generator that supports complex logic.
It is a set of instructions for transforming a software project by generating or modifying code.
Schematics are packaged into collections and installed with npm.
The schematic collection can be a powerful to... | {
"end_byte": 7829,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/schematics.md"
} |
angular/adev/src/content/tools/cli/template-typecheck.md_0_3821 | # Template type checking
## Overview of template type checking
Just as TypeScript catches type errors in your code, Angular checks the expressions and bindings within the templates of your application and can report any type errors it finds.
Angular currently has three modes of doing this, depending on the value of t... | {
"end_byte": 3821,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/template-typecheck.md"
} |
angular/adev/src/content/tools/cli/template-typecheck.md_3821_11008 | ## Troubleshooting template errors
With strict mode, you might encounter template errors that didn't arise in either of the previous modes.
These errors often represent genuine type mismatches in the templates that were not caught by the previous tooling.
If this is the case, the error message should make it clear whe... | {
"end_byte": 11008,
"start_byte": 3821,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/template-typecheck.md"
} |
angular/adev/src/content/tools/cli/template-typecheck.md_11008_19189 | ## Inputs and type-checking
The template type checker checks whether a binding expression's type is compatible with that of the corresponding directive input.
As an example, consider the following component:
<docs-code language="typescript">
export interface User {
name: string;
}
@Component({
selector: 'user-d... | {
"end_byte": 19189,
"start_byte": 11008,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/template-typecheck.md"
} |
angular/adev/src/content/tools/cli/aot-compiler.md_0_7525 | # Ahead-of-time (AOT) compilation
An Angular application consists mainly of components and their HTML templates.
Because the components and templates provided by Angular cannot be understood by the browser directly, Angular applications require a compilation process before they can run in a browser.
The Angular ahead... | {
"end_byte": 7525,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/aot-compiler.md"
} |
angular/adev/src/content/tools/cli/aot-compiler.md_7525_16010 | Phase 1: Code analysis
The TypeScript compiler does some of the analytic work of the first phase.
It emits the `.d.ts` *type definition files* with type information that the AOT compiler needs to generate application code.
At the same time, the AOT **collector** analyzes the metadata recorded in the Angular decorator... | {
"end_byte": 16010,
"start_byte": 7525,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/aot-compiler.md"
} |
angular/adev/src/content/tools/cli/aot-compiler.md_16010_25531 | : code generation
The collector makes no attempt to understand the metadata that it collects and outputs to `.metadata.json`.
It represents the metadata as best it can and records errors when it detects a metadata syntax violation.
It's the compiler's job to interpret the `.metadata.json` in the code generation phase.... | {
"end_byte": 25531,
"start_byte": 16010,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/aot-compiler.md"
} |
angular/adev/src/content/tools/cli/end-to-end.md_0_3024 | # End to End Testing
End-to-end or (E2E) testing is a form of testing used to assert your entire application works as expected from start to finish or _"end-to-end"_. E2E testing differs from unit testing in that it is completely decoupled from the underlying implementation details of your code. It is typically used t... | {
"end_byte": 3024,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/end-to-end.md"
} |
angular/adev/src/content/tools/cli/deployment.md_0_9613 | # Deployment
When you are ready to deploy your Angular application to a remote server, you have various options.
## Automatic deployment with the CLI
The Angular CLI command `ng deploy` executes the `deploy` [CLI builder](tools/cli/cli-builder) associated with your project.
A number of third-party builders implement... | {
"end_byte": 9613,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/deployment.md"
} |
angular/adev/src/content/tools/cli/build-system-migration.md_0_9244 | # Migrating to the new build system
In v17 and higher, the new build system provides an improved way to build Angular applications. This new build system includes:
- A modern output format using ESM, with dynamic import expressions to support lazy module loading.
- Faster build-time performance for both initial build... | {
"end_byte": 9244,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/build-system-migration.md"
} |
angular/adev/src/content/tools/cli/build-system-migration.md_9244_15806 | ## Executing a build
Once you have updated the application configuration, builds can be performed using `ng build` as was previously done.
Depending on the choice of builder migration, some of the command line options may be different.
If the build command is contained in any `npm` or other scripts, ensure they are re... | {
"end_byte": 15806,
"start_byte": 9244,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/build-system-migration.md"
} |
angular/adev/src/content/tools/cli/build.md_0_17185 | # Building Angular apps
You can build your Angular CLI application or library with the `ng build` command.
This will compile your TypeScript code to JavaScript, as well as optimize, bundle, and minify the output as appropriate.
`ng build` only executes the builder for the `build` target in the default project as spec... | {
"end_byte": 17185,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/build.md"
} |
angular/adev/src/content/tools/cli/BUILD.bazel_0_1315 | load("//adev/shared-docs:index.bzl", "generate_guides")
generate_guides(
name = "cli",
srcs = glob([
"*.md",
]),
data = [
"//adev/src/content/examples/cli-builder:src/my-builder.spec.ts",
"//adev/src/content/examples/cli-builder:src/my-builder.ts",
"//adev/src/content/ex... | {
"end_byte": 1315,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/BUILD.bazel"
} |
angular/adev/src/content/tools/cli/cli-builder.md_0_6649 | # Angular CLI builders
A number of Angular CLI commands run a complex process on your code, such as building, testing, or serving your application.
The commands use an internal tool called Architect to run *CLI builders*, which invoke another tool (bundler, test runner, server) to accomplish the desired task.
Custom b... | {
"end_byte": 6649,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/cli-builder.md"
} |
angular/adev/src/content/tools/cli/cli-builder.md_6649_11934 | ## Builder input
You can invoke a builder indirectly through a CLI command such as `ng build`, or directly with the Angular CLI `ng run` command.
In either case, you must provide required inputs, but can let other inputs default to values that are pre-configured for a specific *target*, specified by a [configuration](... | {
"end_byte": 11934,
"start_byte": 6649,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/cli-builder.md"
} |
angular/adev/src/content/tools/cli/cli-builder.md_11934_19951 | and run
Architect runs builders asynchronously.
To invoke a builder, you schedule a task to be run when all configuration resolution is complete.
The builder function is not executed until the scheduler returns a `BuilderRun` control object.
The CLI typically schedules tasks by calling the `context.scheduleTarget()` ... | {
"end_byte": 19951,
"start_byte": 11934,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/cli-builder.md"
} |
angular/adev/src/content/tools/cli/serve.md_0_3201 | # Serving Angular apps for development
You can serve your Angular CLI application with the `ng serve` command.
This will compile your application, skip unnecessary optimizations, start a devserver, and automatically rebuild and live reload any subsequent changes.
You can stop the server by pressing `Ctrl+C`.
`ng serv... | {
"end_byte": 3201,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/serve.md"
} |
angular/adev/src/content/tools/cli/schematics-authoring.md_0_4650 | # Authoring schematics
You can create your own schematics to operate on Angular projects.
Library developers typically package schematics with their libraries to integrate them with the Angular CLI.
You can also create stand-alone schematics to manipulate the files and constructs in Angular applications as a way of cu... | {
"end_byte": 4650,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/schematics-authoring.md"
} |
angular/adev/src/content/tools/cli/schematics-authoring.md_4650_11396 | ### Schematic prompts
Schematic *prompts* introduce user interaction into schematic execution.
Configure schematic options to display a customizable question to the user.
The prompts are displayed before the execution of the schematic, which then uses the response as the value for the option.
This lets users direct th... | {
"end_byte": 11396,
"start_byte": 4650,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/schematics-authoring.md"
} |
angular/adev/src/content/tools/cli/schematics-authoring.md_11396_17458 | Schematics CLI
Schematics come with their own command-line tool.
Using Node 6.9 or later, install the Schematics command line tool globally:
<docs-code language="shell">
npm install -g @angular-devkit/schematics-cli
</docs-code>
This installs the `schematics` executable, which you can use to create a new schemati... | {
"end_byte": 17458,
"start_byte": 11396,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/schematics-authoring.md"
} |
angular/adev/src/content/tools/cli/aot-metadata-errors.md_0_8292 | # AOT metadata errors
The following are metadata errors you may encounter, with explanations and suggested corrections.
## Expression form not supported
HELPFUL: The compiler encountered an expression it didn't understand while evaluating Angular metadata.
Language features outside of the compiler's [restricted exp... | {
"end_byte": 8292,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/aot-metadata-errors.md"
} |
angular/adev/src/content/tools/cli/aot-metadata-errors.md_8292_13822 | FUL: *Referencing an exported destructured variable or constant is not supported by the template compiler. Consider simplifying this to avoid destructuring.*
The compiler does not support references to variables assigned by [destructuring](https://www.typescriptlang.org/docs/handbook/variable-declarations.html#destruc... | {
"end_byte": 13822,
"start_byte": 8292,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/tools/cli/aot-metadata-errors.md"
} |
angular/adev/src/content/introduction/what-is-angular.md_0_7550 | <docs-decorative-header title="What is Angular?" imgSrc="adev/src/assets/images/what_is_angular.svg"> <!-- markdownlint-disable-line -->
</docs-decorative-header>
<big style="margin-top: 2em">
Angular is a web framework that empowers developers to build fast, reliable applications.
</big>
Maintained by a dedicated te... | {
"end_byte": 7550,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/what-is-angular.md"
} |
angular/adev/src/content/introduction/what-is-angular.md_7550_10102 | iving community
<docs-card-container>
<docs-card title="Courses, blogs and resources" href="https://devlibrary.withgoogle.com/products/angular?sort=added" link="Check out DevLibrary">
Our community is composed of talented developers, writers, instructors, podcasters, and more. The Google for Developers library is ... | {
"end_byte": 10102,
"start_byte": 7550,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/what-is-angular.md"
} |
angular/adev/src/content/introduction/BUILD.bazel_0_266 | load("//adev/shared-docs:index.bzl", "generate_guides")
generate_guides(
name = "introduction",
srcs = glob([
"*.md",
]),
data = [
"//adev/src/assets/images:what_is_angular.svg",
],
visibility = ["//adev:__subpackages__"],
)
| {
"end_byte": 266,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/BUILD.bazel"
} |
angular/adev/src/content/introduction/installation.md_0_3372 | <docs-decorative-header title="Installation" imgSrc="adev/src/assets/images/what_is_angular.svg"> <!-- markdownlint-disable-line -->
</docs-decorative-header>
Get started with Angular quickly with online starters or locally with your terminal.
## Play Online
If you just want to play around with Angular in your brows... | {
"end_byte": 3372,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/installation.md"
} |
angular/adev/src/content/introduction/essentials/overview.md_0_1049 | <docs-decorative-header title="Overview" imgSrc="adev/src/assets/images/what_is_angular.svg"> <!-- markdownlint-disable-line -->
</docs-decorative-header>
## Before you start
Like most modern frameworks, Angular expects you to be familiar with HTML, CSS and JavaScript. If you are totally new to frontend development, ... | {
"end_byte": 1049,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/essentials/overview.md"
} |
angular/adev/src/content/introduction/essentials/rendering-dynamic-templates.md_0_3414 | <docs-decorative-header title="Rendering Dynamic Templates" imgSrc="adev/src/assets/images/templates.svg"> <!-- markdownlint-disable-line -->
Use Angular's template syntax to create dynamic HTML.
</docs-decorative-header>
What you've learned so far enables you to break an application up into components of HTML, but th... | {
"end_byte": 3414,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/essentials/rendering-dynamic-templates.md"
} |
angular/adev/src/content/introduction/essentials/conditionals-and-loops.md_0_3917 | <docs-decorative-header title="Conditionals and Loops" imgSrc="adev/src/assets/images/directives.svg"> <!-- markdownlint-disable-line -->
Conditionally show and/or repeat content based on dynamic data.
</docs-decorative-header>
One of the advantages of using a framework like Angular is that it provides built-in soluti... | {
"end_byte": 3917,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/essentials/conditionals-and-loops.md"
} |
angular/adev/src/content/introduction/essentials/components.md_0_3900 | <docs-decorative-header title="Components" imgSrc="adev/src/assets/images/components.svg"> <!-- markdownlint-disable-line -->
The fundamental building block for creating applications in Angular.
</docs-decorative-header>
Components provide structure for organizing your project into easy-to-understand parts with clear ... | {
"end_byte": 3900,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/essentials/components.md"
} |
angular/adev/src/content/introduction/essentials/managing-dynamic-data.md_0_1980 | <docs-decorative-header title="Managing Dynamic Data" imgSrc="adev/src/assets/images/signals.svg"> <!-- markdownlint-disable-line -->
Define component state and behavior to manage dynamic data.
</docs-decorative-header>
Now that we have learned the basic structure for a component, let’s learn how you can define the co... | {
"end_byte": 1980,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/essentials/managing-dynamic-data.md"
} |
angular/adev/src/content/introduction/essentials/handling-user-interaction.md_0_1735 | <docs-decorative-header title="Handling User Interaction" imgSrc="adev/src/assets/images/overview.svg"> <!-- markdownlint-disable-line -->
Handle user interaction in your application.
</docs-decorative-header>
The ability to handle user interaction and then work with - it is one of the key aspects of building dynamic ... | {
"end_byte": 1735,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/essentials/handling-user-interaction.md"
} |
angular/adev/src/content/introduction/essentials/next-steps.md_0_1073 | <docs-decorative-header title="Next Steps" imgSrc="adev/src/assets/images/roadmap.svg"> <!-- markdownlint-disable-line -->
</docs-decorative-header>
Now that you have been introduced to core concepts of Angular - you're ready to put what you learned into practices with our interactive tutorials and learn more with our... | {
"end_byte": 1073,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/essentials/next-steps.md"
} |
angular/adev/src/content/introduction/essentials/BUILD.bazel_0_649 | load("//adev/shared-docs:index.bzl", "generate_guides")
generate_guides(
name = "essentials",
srcs = glob([
"*.md",
]),
data = [
"//adev/src/assets/images:components.svg",
"//adev/src/assets/images:dependency_injection.svg",
"//adev/src/assets/images:directives.svg",
... | {
"end_byte": 649,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/essentials/BUILD.bazel"
} |
angular/adev/src/content/introduction/essentials/sharing-logic.md_0_2225 | <docs-decorative-header title="Sharing Code" imgSrc="adev/src/assets/images/dependency_injection.svg"> <!-- markdownlint-disable-line -->
Dependency injection allows you to share code.
</docs-decorative-header>
When you need to share logic between components, Angular leverages the design pattern of [dependency injecti... | {
"end_byte": 2225,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/introduction/essentials/sharing-logic.md"
} |
angular/adev/src/content/api-examples/test-utils/index.ts_0_839 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/* tslint:disable:no-console */
import {logging, WebDriver} from 'selenium-webdriver';
declare var browser: WebDriv... | {
"end_byte": 839,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/test-utils/index.ts"
} |
angular/adev/src/content/api-examples/upgrade/upgrade_example.bzl_0_2183 | load("//tools:defaults.bzl", "esbuild", "http_server", "ng_module", "protractor_web_test_suite", "ts_library")
"""
Macro that can be used to create the Bazel targets for an "upgrade" example. Since the
upgrade examples bootstrap their application manually, and we cannot serve all examples,
we need to define the ... | {
"end_byte": 2183,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/upgrade_example.bzl"
} |
angular/adev/src/content/api-examples/upgrade/index.html_0_632 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Angular Upgrade Examples</title>
<base href="/" />
<!-- Prevent the browser from requesting any favicon. This could throw off the console
output checks. -->
<link rel="icon" href="data:," />
</head>
<body>
<exam... | {
"end_byte": 632,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/index.html"
} |
angular/adev/src/content/api-examples/upgrade/start-server.js_0_552 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
const protractorUtils = require('@bazel/protractor/protractor-utils');
const protractor = require('protractor');
mo... | {
"end_byte": 552,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/start-server.js"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/full/styles.css_0_224 | ng2-heroes {
border: solid black 2px;
display: block;
padding: 5px;
}
ng1-hero {
border: solid green 2px;
margin-top: 5px;
padding: 5px;
display: block;
}
.title {
background-color: blue;
color: white;
}
| {
"end_byte": 224,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/full/styles.css"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/full/module.ts_0_6774 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
// #docplaster
import {
Component,
Directive,
ElementRef,
EventEmitter,
Injectable,
Injector,
Input,
... | {
"end_byte": 6774,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/full/module.ts"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/full/module.spec.ts_0_1476 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
// #docregion angular-setup
import {TestBed} from '@angular/core/testing';
import {
createAngularJSTestingModule,
... | {
"end_byte": 1476,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/full/module.spec.ts"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/full/e2e_test/static_full_spec.ts_0_1914 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {browser, by, element} from 'protractor';
import {verifyNoBrowserErrors} from '../../../../../../../../../pac... | {
"end_byte": 1914,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/full/e2e_test/static_full_spec.ts"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/lite/styles.css_0_224 | ng2-heroes {
border: solid black 2px;
display: block;
padding: 5px;
}
ng1-hero {
border: solid green 2px;
margin-top: 5px;
padding: 5px;
display: block;
}
.title {
background-color: blue;
color: white;
}
| {
"end_byte": 224,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/lite/styles.css"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/lite/module.ts_0_7635 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
// #docplaster
import {
Component,
Directive,
ElementRef,
EventEmitter,
Inject,
Injectable,
Injector,
... | {
"end_byte": 7635,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/lite/module.ts"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/lite/BUILD.bazel_0_469 | load("//packages/examples/upgrade:upgrade_example.bzl", "create_upgrade_example_targets")
package(default_visibility = ["//visibility:public"])
create_upgrade_example_targets(
name = "lite",
srcs = glob(
["**/*.ts"],
exclude = ["e2e_test/*"],
),
assets = ["styles.css"],
e2e_srcs = ... | {
"end_byte": 469,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/lite/BUILD.bazel"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/lite/e2e_test/static_lite_spec.ts_0_2793 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {browser, by, element, ElementArrayFinder, ElementFinder} from 'protractor';
import {verifyNoBrowserErrors} ... | {
"end_byte": 2793,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/lite/e2e_test/static_lite_spec.ts"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/lite/e2e_test/e2e_util.ts_0_2263 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {by, ElementFinder} from 'protractor';
declare global {
namespace jasmine {
interface Matchers<T> {
... | {
"end_byte": 2263,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/lite/e2e_test/e2e_util.ts"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/lite-multi/module.ts_0_3724 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
// #docplaster
import {
Component,
Directive,
ElementRef,
getPlatform,
Injectable,
Injector,
NgModule,... | {
"end_byte": 3724,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/lite-multi/module.ts"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/lite-multi/e2e_test/static_lite_multi_spec.ts_0_875 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {browser, by, element} from 'protractor';
import {verifyNoBrowserErrors} from '../../../../../../../../../pa... | {
"end_byte": 875,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/lite-multi/e2e_test/static_lite_multi_spec.ts"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/lite-multi-shared/module.ts_0_4809 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {
Compiler,
Component,
getPlatform,
Injectable,
Injector,
NgModule,
StaticProvider,
} from '@an... | {
"end_byte": 4809,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/lite-multi-shared/module.ts"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/lite-multi-shared/BUILD.bazel_0_460 | load("//packages/examples/upgrade:upgrade_example.bzl", "create_upgrade_example_targets")
package(default_visibility = ["//visibility:public"])
create_upgrade_example_targets(
name = "lite-multi-shared",
srcs = glob(
["**/*.ts"],
exclude = ["**/*_spec.ts"],
),
e2e_srcs = glob(["e2e_tes... | {
"end_byte": 460,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/lite-multi-shared/BUILD.bazel"
} |
angular/adev/src/content/api-examples/upgrade/static/ts/lite-multi-shared/e2e_test/static_lite_multi_shared_spec.ts_0_1042 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {browser, by, element} from 'protractor';
import {verifyNoBrowserErrors} from '../../../../../../../../../pa... | {
"end_byte": 1042,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/upgrade/static/ts/lite-multi-shared/e2e_test/static_lite_multi_shared_spec.ts"
} |
angular/adev/src/content/api-examples/forms/main.ts_0_427 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import 'zone.js/lib/browser/rollup-main';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';... | {
"end_byte": 427,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/forms/main.ts"
} |
angular/adev/src/content/api-examples/forms/start-server.js_0_552 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
const protractorUtils = require('@bazel/protractor/protractor-utils');
const protractor = require('protractor');
mo... | {
"end_byte": 552,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/forms/start-server.js"
} |
angular/adev/src/content/api-examples/forms/test_module.ts_0_2969 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Component, NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
import * as formBu... | {
"end_byte": 2969,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/forms/test_module.ts"
} |
angular/adev/src/content/api-examples/forms/BUILD.bazel_0_1445 | load("//tools:defaults.bzl", "esbuild", "http_server", "ng_module", "protractor_web_test_suite", "ts_library")
package(default_visibility = ["//visibility:public"])
ng_module(
name = "forms_examples",
srcs = glob(
["**/*.ts"],
exclude = ["**/*_spec.ts"],
),
deps = [
"//packages... | {
"end_byte": 1445,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/forms/BUILD.bazel"
} |
angular/adev/src/content/api-examples/forms/ts/ngModelGroup/module.ts_0_600 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {BrowserModule} from '@an... | {
"end_byte": 600,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/forms/ts/ngModelGroup/module.ts"
} |
angular/adev/src/content/api-examples/forms/ts/ngModelGroup/ng_model_group_example.ts_0_1273 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/* tslint:disable:no-console */
// #docregion Component
import {Component} from '@angular/core';
import {NgForm} fr... | {
"end_byte": 1273,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/forms/ts/ngModelGroup/ng_model_group_example.ts"
} |
angular/adev/src/content/api-examples/forms/ts/ngModelGroup/e2e_test/ng_model_group_spec.ts_0_1455 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {browser, by, element, ElementArrayFinder} from 'protractor';
import {verifyNoBrowserErrors} from '../../../... | {
"end_byte": 1455,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/forms/ts/ngModelGroup/e2e_test/ng_model_group_spec.ts"
} |
angular/adev/src/content/api-examples/forms/ts/simpleFormControl/simple_form_control_example.ts_0_778 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
// #docregion Component
import {Component} from '@angular/core';
import {FormControl, Validators} from '@angular/for... | {
"end_byte": 778,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/forms/ts/simpleFormControl/simple_form_control_example.ts"
} |
angular/adev/src/content/api-examples/forms/ts/simpleFormControl/module.ts_0_625 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {NgModule} from '@angular/core';
import {ReactiveFormsModule} from '@angular/forms';
import {BrowserModule} f... | {
"end_byte": 625,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/forms/ts/simpleFormControl/module.ts"
} |
angular/adev/src/content/api-examples/forms/ts/simpleFormControl/e2e_test/simple_form_control_spec.ts_0_1614 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {browser, by, element, ElementFinder} from 'protractor';
import {verifyNoBrowserErrors} from '../../../../..... | {
"end_byte": 1614,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/content/api-examples/forms/ts/simpleFormControl/e2e_test/simple_form_control_spec.ts"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.