AngularJS to Angular Migration using phone-cat project
This is a 3-stepped process of migrating an AngularJS app completely to Angular. The steps are as follows:
- Clone Angular phone-cat
- Hybrid application using ngUpgrade
- Complete removal of AngularJS
The instructions and steps followed over here are from the offocial Angular upgrade guide: https://angular.io/guide/upgrade
Installing Dependencies
The application relies upon various JS libraries, such as AngularJS/Angular/Jquery etc. You can install these by running:
npm install
Compilation
The application is a hybrid of Angular and AngularJs and relies on typescript. For typescript compilation run:
npm run tsc
Execution
This application relies on http-server. You can run it using:
npm start
Navigate your browser to http://localhost:8000/ to see the application running.