Skip to content

matthny/angularjs_to_angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 

Repository files navigation

Exercise: Update of AngularJS app to Angular2+ app

Starting point was an AngularJS weather app from https://www.udemy.com/course/learn-angularjs/ Ending point is the same app, but in Angular 8. Some minor fixes were made too.

Steps made:

  1. Add Webpack.
  2. Add TypeScript.
  3. Build project using both: TypeScript and Webpack.
  4. Add Ts-Loader.
  5. Add SourceMap.
  6. Rewrite directives to components.
  7. Make new empty Angular2+ project.
  8. Fill this new Angular2+ project up using AngularJS components and services prepared in previous steps.
  9. Move dependencies from index.html to package.json.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published