Skip to content

Latest commit

 

History

History

angular-dart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AngularDart TodoMVC Example

AngularDart is heavily inspired by AngularJS and is supercharged for Dart. Core Angular features such as directives, data binding, and dependency injection, are all there, and they've taken advantage of Dart's features like metadata, types, and classes to feel natural for Dart developers. AngularDart is also the first version of Angular to be built on emerging web standards like Shadow DOM.

AngularDart

Learning Dart

The Dart website is a great resource for getting started.

Here are some links you may find helpful:

Articles and guides from the community:

Get help from other Dart users:

If you have other helpful links to share, or find any of the links above no longer work, please let us know.

Running

Dart compiles to JavaScript and thus runs across modern browsers. Dart also can run in its own virtual machine.

Both Dart files and JS compilation result are provided in this sample, therefore it actually works in any browser.

To edit and debug the code, you can use Dart Editor. The editor ships with the SDK and Dartium, a dedicated version of Chromium with an embedded Dart VM.

If you would like to edit the code without an IDE you must install Dart and run pub get to install the dependencies from the project root.

Compiling

dart2js web/main.dart -o web/main.js

The dart2js compilator can be found in the SDK.

The currently provided JS is minified (dart2js [...] --minify).