Skip to content

Commit c29c5e6

Browse files
committed
Add platform question
1 parent efed167 commit c29c5e6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
|133| [What are the advantages of Bazel tool?](#what-are-the-advantages-of-bazel-tool)|
142142
|134| [How do you use Bazel with Angular CLI?](#how-do-you-use-bazel-with-angular-cli)|
143143
|135| [How do you run Bazel directly?](#how-do-you-run-bazel-directly)|
144+
|136| [What is platform in Angular?](#what-is-platform-in-angular)|
144145

145146
1. ### What is Angular Framework?
146147

@@ -1729,4 +1730,9 @@
17291730
bazel build [targets] // Compile the default output artifacts of the given targets.
17301731
bazel test [targets] // Run the tests with *_test targets found in the pattern.
17311732
bazel run [target]: Compile the program represented by target and then run it.
1732-
```
1733+
```
1734+
136. ### What is platform in Angular?
1735+
A platform is the context in which an Angular application runs. The most common platform for Angular applications is a web browser, but it can also be an operating system for a mobile device, or a web server. The runtime-platform is provided by the @angular/platform-* packages and these packages allow applications that make use of `@angular/core` and `@angular/common` to execute in different environments.
1736+
i.e, Angular can be used as platform-independent framework in different environments, For example,
1737+
1. While running in the browser, it uses `platform-browser` package.
1738+
2. When SSR(server-side rendering ) is used, it uses `platform-server` package for providing web server implementation.

0 commit comments

Comments
 (0)