Go to file
Pawel Kozlowski 81f3f32217 refactor(DirectiveParser): remove checks for missing directives
Based on the discussion in #776 we can't reliably check if a given
element has a particular property at the compilation time. As such
the existing algorithm detecting "missing" directives can't be used.

We need to see if there is a different / better algorithm or maybe
those checks need to be moved later in the process (runtime). Leaving
integration tests in place (disabled) so we can come back to the
topic after unblocking the situation.

This commit effectivelly reverts 94e203b9df
2015-03-22 14:14:36 +01:00
docs chore(doc-gen): include exported variable declaration in public docs 2015-03-19 22:26:51 +00:00
modules refactor(DirectiveParser): remove checks for missing directives 2015-03-22 14:14:36 +01:00
scripts chore(install+test): single cmd to full install/test & test JS w/o Dart 2015-03-21 14:55:11 -07:00
tools chore(install+test): single cmd to full install/test & test JS w/o Dart 2015-03-21 14:55:11 -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 feat(benchmarks): add polymer js 0.8-preview benchmark 2015-03-13 20:48:03 -07:00
.travis.yml chore: travis-slack integration 2015-03-12 15:08:40 -07:00
CONTRIBUTING.md chore(contributing): add contributing instructions 2015-03-11 08:06:09 +01:00
DEVELOPER.md chore(install+test): single cmd to full install/test & test JS w/o Dart 2015-03-21 14:55:11 -07:00
LICENSE Initial commit 2014-09-18 09:12:01 -07:00
README.md README - don't forget to build app before start 2015-03-21 14:55:11 -07:00
bower.json feat(benchmarks): add polymer js 0.8-preview benchmark 2015-03-13 20:48:03 -07:00
gulpfile.js chore(install+test): single cmd to full install/test & test JS w/o Dart 2015-03-21 14:55:11 -07:00
karma-dart.conf.js feat(benchpress): rewritten implementation 2015-02-16 11:43:27 -08:00
karma-js.conf.js fix(setup): use upstream traceur with explicit patches 2015-02-06 17:04:08 -08:00
karma.conf.js chore(karma): add karma.conf.js symlink 2014-11-05 11:19:02 -08:00
package.json chore(install+test): single cmd to full install/test & test JS w/o Dart 2015-03-21 14:55:11 -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(benchmarks): add polymer js 0.8-preview benchmark 2015-03-13 20:48:03 -07: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 feat(benchpress): add a file reporter 2015-03-06 12:50:05 -08:00
pubspec.yaml chore: upgrade guinness to remove a workaround in testlib 2015-03-13 18:19:10 -07:00
test-main.dart feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
test-main.js feat(compiler): DOM adapters + html5lib implementation; misc fixes 2015-02-27 16:49:14 -08:00

README.md

Angular Build Status Join the chat at https://gitter.im/angular/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 Alpha Preview. We recommend using Angular 1.X for production applications:

Setup & Install Angular 2

Follow the instructions given on the Angular download page.

Want to help?

Want to file a bug, or contribute some code or improve documentation? Excellent! Read up on our guidelines for contributing.

Examples

To see the examples, first build the project as described here.

Hello World Example

This example consists of three basic pieces - a component, a decorator and a service. They are all constructed via injection. For more information see the comments in the source modules/examples/src/hello_world/index.js.

You can build this example as either JS or Dart app:

  • JS:
    • $(npm bin)/gulp build.js.dev, and
    • $(npm bin)/gulp serve.js.dev, and
    • open localhost:8000/examples/src/hello_world/ in Chrome.
  • Dart:
    • $(npm bin)/gulp serve/examples.dart, and
    • open localhost:8080/src/hello_world in Chrome (for dart2js) or Dartium (for Dart VM).