https://github.com/slaven3kopic/angularjs2angular
https://github.com/slaven3kopic/angularjs2angular
angular angularjs
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/slaven3kopic/angularjs2angular
- Owner: slaven3kopic
- License: mit
- Created: 2020-12-21T09:16:12.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-22T11:44:03.000Z (over 5 years ago)
- Last Synced: 2025-02-12T13:52:54.939Z (about 1 year ago)
- Topics: angular, angularjs
- Language: TypeScript
- Homepage:
- Size: 1.63 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# angularjs2angular
## Overview
This application takes the developer through the process of migrating from AngularJS to Angular. It is based
on [angular-phonecat](https://github.com/angular/angular-phonecat) application. It follows steps described in
the [guide](https://angular.io/guide/upgrade).
## Migration steps
- Convert files from `.js` to `.ts`
- Include [Webpack](https://webpack.js.org/)
- Add Angular dependencies
- Use `@angular/upgrade` to run hybrid app (AngularJS and Angular at the same time)
- Migrate and downgrade `Phone` service as a test
- Include [webpack-dev-server](https://webpack.js.org/configuration/dev-server/)
## Running
- `npm start`
## Building
- `npm run build`