Examples for angulate2 (a Scala.js binding library for Angular 2).
Node.js must be installed to run the examples out of the box.
Clone this repository and run sbt fastOptJS
.
Go to any of the subdirectories and run npm install
to install the required JS dependecies (Angular2, RxJS).
If you don't want to install the dependencies separately for every subdir, create an empty node_modules
folder in the top-level project and then create a symbolic link to it in every subfolder before you run npm install
.
Start any of the example by running npm start
in any of the example subfolders.
heroes/
: the introductory Angular2 "Tour of Heroes" tutorial.attributeDirective/
: tutorial on Attribute Directives.routing/
: Angular2 tutorial on Routing & Navigation