Go to file
Yegor Jbanov 87cf434929 chore(sources): intro modules_dart; move analyzer code there
We have Dart code in `angular2` module that ought to be in its own
package. Examples include Dart analysis plugins, and potentially the
transformers (although transformers cannot be moved out just yet).
However, this code is Dart-only and it doesn’t make sense to use JS
directory layout for it. This commit introduces a sub-directory called
`modules_dart`. All modules in this directory are pure Dart packages
using standard pub directory layout. The code in these packages never
gets transpiled. It is directly copied to `dist` unmodified, except an
adjustment in relative paths in `pubspec.yaml` files.
2015-04-24 13:29:18 -07:00
docs chore(doc-gen): fix atScript file reader test 2015-04-20 17:43:46 +02:00
modules chore(sources): intro modules_dart; move analyzer code there 2015-04-24 13:29:18 -07:00
modules_dart chore(sources): intro modules_dart; move analyzer code there 2015-04-24 13:29:18 -07:00
scripts chore(sources): intro modules_dart; move analyzer code there 2015-04-24 13:29:18 -07:00
tools fix(jsserve): serve empty favicon to prevent errors in benchmarks 2015-04-21 11:25:07 -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 Tweak .gitignore file to ignore also packages symlinks. 2015-04-18 12:13:10 -07:00
.travis.yml chore(travis): pin npm used to v2.7.4 2015-04-16 16:58:28 -07:00
CONTRIBUTING.md chore(contributing): add contributing instructions 2015-03-11 08:06:09 +01:00
DEVELOPER.md DEVELOPER.md copyedit 2015-04-21 17:10:15 -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(sources): intro modules_dart; move analyzer code there 2015-04-24 13:29:18 -07:00
karma-dart.conf.js fix(di): refactor bindings to support Dart annotations 2015-04-13 15:06:43 -07:00
karma-js.conf.js chore: enable chrome browser tests on c9.io 2015-04-17 03:44:32 +00:00
karma.conf.js chore(karma): add karma.conf.js symlink 2014-11-05 11:19:02 -08:00
npm-shrinkwrap.clean.json chore(package.json): upgrade zone.js to v0.4.3 2015-04-21 16:30:40 -07:00
npm-shrinkwrap.json chore(package.json): upgrade zone.js to v0.4.3 2015-04-21 16:30:40 -07:00
npm-shrinkwrap.readme.md chore(npm): add shrinkwrap to our project 2015-04-16 16:58:28 -07:00
package.json chore(package.json): upgrade zone.js to v0.4.3 2015-04-21 16:30:40 -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 fix(build): don’t read out chrome perflogs during e2e tests 2015-04-01 17:09:26 -07:00
pubspec.yaml chore: allow latest stack_track package 2015-04-03 14:18:14 -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 chore: enable chrome browser tests on c9.io 2015-04-17 03:44:32 +00: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).