This sample application demonstrates some of the basics of upgrading/migrating from Angular 1 to Angular 2.
First, you want to make sure you have Node.js so you can start the personal web server and Git so you can access the source code.
Next, clone the repository:
git clone https://github.com/craigshoemaker/angular-upgrade-demo.git
Then, install the dependencies:
npm install
Once everything is installed, you can launch the application in your default browser by running:
npm start
* On Windows, an alternative to the above steps would be to double click on files install.cmd
and then start.cmd
.
For further learning about upgrading you Angular 1 applications to Angular 2, make sure to check out the following resources:
- Preparing for and Migrating Applications to Angular 2
- Official documentation (concepts only, the code demo is incorrect)