da41a954b5
Angular 1.x -> AngularJS Angular 1 -> AngularJS Angular1 -> AngularJS Angular 2+ -> Angular Angular 2.0 -> Angular Angular2 -> Angular I have deliberately not touched any of the symbol names as that would cause big merge collisions with Tobias's work. All the renames are in .md, .json, and inline comments and jsdocs. PR Close #14132 |
||
---|---|---|
.. | ||
_common | ||
common | ||
compiler/ts/url_resolver | ||
core | ||
facade/ts/async | ||
forms/ts | ||
http/ts | ||
platform-browser/dom/debug/ts | ||
testing/ts | ||
upgrade/static/ts | ||
web_workers/ts | ||
README.md | ||
build.sh | ||
test.sh | ||
tsconfig-build.json |
README.md
API Examples
This folder contains small example apps that get in-lined into our API docs. Each example contains tests for application behavior (as opposed to testing Angular's behavior) just like an Angular application developer would write.
Running the examples
# # execute the following command only when framework code changes
./build.sh
# run when test change
./modules/@angular/examples/build.sh
# start server
$(npm bin)/gulp serve-examples
navigate to http://localhost:8001
Running the tests
# run only when framework code changes
./build.sh
# run to compile tests and run them
./modules/@angular/examples/test.sh
NOTE: sometimes the http server does not exit properly and it retains the 8001
port.
in such a case you can use lsof -i:8001
to see which process it is and then use kill
to remove it. (Or in single command: lsof -i:8001 -t | xargs kill
)