angulate2-examples
January 7, 2017 ยท View on GitHub
Examples for angulate2 (a Scala.js binding library for Angular 2).
Getting Started
Prerequisites
Node.js must be installed to run the examples out of the box.
Step 1
Clone this repository and run sbt fastOptJS.
Step 2
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.
Step 3
Start any of the example by running npm start in any of the example subfolders.
List of Examples
heroes/: the introductory Angular2 "Tour of Heroes" tutorial.attributeDirective/: tutorial on Attribute Directives.routing/: Angular2 tutorial on Routing & Navigation