Go to file
Tobias Bosch b1df54501a feat(compiler): attach components and project light dom during compilation.
Closes #2529

BREAKING CHANGES:
- shadow dom emulation no longer
  supports the `<content>` tag. Use the new `<ng-content>` instead
  (works with all shadow dom strategies).
- removed `DomRenderer.setViewRootNodes` and `AppViewManager.getComponentView`
  -> use `DomRenderer.getNativeElementSync(elementRef)` and change shadow dom directly
- the `Renderer` interface has changed:
  * `createView` now also has to support sub views
  * the notion of a container has been removed. Instead, the renderer has
    to implement methods to attach views next to elements or other views.
  * a RenderView now contains multiple RenderFragments. Fragments
    are used to move DOM nodes around.

Internal changes / design changes:
- Introduce notion of view fragments on render side
- DomProtoViews and DomViews on render side are merged,
  AppProtoViews are not merged, AppViews are partially merged
  (they share arrays with the other merged AppViews but we keep
  individual AppView instances for now).
- DomProtoViews always have a `<template>` element as root
  * needed for storing subviews
  * we have less chunks of DOM to clone now
- remove fake ElementBinder / Bound element for root text bindings
  and model them explicitly. This removes a lot of special cases we had!
- AppView shares data with nested component views
- some methods in AppViewManager (create, hydrate, dehydrate) are iterative now
  * now possible as we have all child AppViews / ElementRefs already in an array!
2015-07-15 20:23:27 -07:00
.settings tools: updated the VS Code config 2015-07-07 08:17:58 -07:00
docs chore(doc-gen): add some tests for typescript-definition-package 2015-07-12 19:10:58 +01:00
modules feat(compiler): attach components and project light dom during compilation. 2015-07-15 20:23:27 -07:00
modules_dart feat(dart/transform): Reuse readDirectiveMetadata in plugin 2015-05-08 14:34:16 -07:00
scripts chore(build): upload dart artifacts to GCS 2015-07-09 11:55:04 -07:00
tools feat(webworkers) Add MessageBus, Broker, and Serializer 2015-07-15 11:49:10 -07:00
typing_spec fix(build): fix paths in `test.typings` task 2015-06-24 21:18:46 -07:00
.bowerrc BUG FIX: without specification, certain versions of bower install ./app/bower_components... 2015-04-21 16:31:20 -07:00
.clang-format feat(tooling): Add a .clang-format for automated JavaScript formatting. 2015-04-02 08:44:34 -07:00
.editorconfig chore(.editorconfig): include markdown config 2015-01-27 00:14:48 -08:00
.gitattributes chore: add .gitattributes with new lines config 2015-01-06 18:06:13 -08:00
.gitignore chore: added modules/.settings to .gitignore 2015-07-13 09:15:46 +02:00
.nvmrc chore(build): record the version of node we expect. 2015-06-29 16:30:55 -07:00
.travis.yml chore(build): upload dist.tgz for js builds 2015-07-15 10:58:51 -07:00
CHANGELOG.md chore(package.json): bump version to 2.0.0-alpha.31 2015-07-14 10:52:39 -07:00
CONTRIBUTING.md docs: consolidate clang-format docs. 2015-06-25 16:26:30 -07:00
DEVELOPER.md chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
LICENSE Initial commit 2014-09-18 09:12:01 -07:00
README.md chore: readme link to community-help hotlist 2015-06-19 11:25:00 -07:00
TRIAGE_AND_LABELS.md chore(process): add core/webworker component to TRIAGE_AND_LABELS.md 2015-07-14 11:15:10 -07:00
bower.json build(bower): remove moot `version` property from bower.json 2015-06-09 08:53:49 -07:00
gulpfile.js chore(build): add material css to dart build. 2015-07-15 15:36:22 -07:00
karma-dart.conf.js fix(XHRImpl): fix errors, add a spec 2015-05-20 08:31:50 +02:00
karma-js.conf.js chore: update zone.js to 0.5.1 2015-06-10 23:41:45 +02:00
npm-shrinkwrap.clean.json feat: upgrade ts2dart to 0.6.9. 2015-07-14 11:15:15 -07:00
npm-shrinkwrap.json feat: upgrade ts2dart to 0.6.9. 2015-07-14 11:15:15 -07:00
npm-shrinkwrap.readme.md docs(shrinkwrap): update npm-shrinkwrap.readme.md with info about deleting dependencies 2015-06-04 10:10:03 -07:00
package.json chore(package.json): bump version to 2.0.0-alpha.31 2015-07-14 10:52:39 -07:00
perf-cloud-secret.template.js refactor(build): support multiple configurable browsers for e2e and perf tests 2015-01-20 13:06:37 -08:00
protractor-dart2js.conf.js feat(http): refactor library to work in dart 2015-06-30 15:21:36 -07:00
protractor-js-dev.conf.js chore(test): setup a gulp task for quickly running e2e tests against the dev server 2015-06-11 16:58:32 -07:00
protractor-js-prod.conf.js chore(build): add a task to watch and render examples and e2e tests for production 2015-06-19 18:57:41 -04:00
protractor-js.conf.js fix(build): simplify the e2e/perf config via command line arguments 2015-02-17 11:08:04 -08:00
protractor-shared.js build(protractor): don't require benchpress bundle for all protractor tests 2015-07-02 23:21:05 -07:00
pubspec.yaml feat(change_detection): added support for ObservableList from package:observe 2015-07-15 17:06:42 -07:00
test-init.dart refactor(render): use render layer fully 2015-04-08 20:51:31 -07:00
test-main.dart refactor(render): use render layer fully 2015-04-08 20:51:31 -07:00
test-main.js fix: increase the stack frame size for tests 2015-06-05 16:22:41 -07:00
tsconfig.json tools: updated the VS Code config 2015-07-07 08:17:58 -07:00

README.md

Build Status Join the chat at https://gitter.im/angular/angular Issue Stats Issue Stats npm version Downloads

Angular

Angular is a development platform for building mobile and desktop web applications. This is the repository for Angular 2, both the JavaScript (JS) and Dart versions.

Angular 2 is currently in Developer Preview. We recommend using Angular 1.X for production applications:

Quickstart

Get started in 5 minutes

Setup & Install Angular 2

Follow the instructions given on the Angular download page.

Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.