Skip to content

josefmonje/angular2-spa-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular 2 Single-Page App Boilerplate and Tutorial

Angular.js 2 SPA boilerplate and tutorial written in plain JavaScript.

git clone https:/josefmonje/angular2-spa-boilerplate.git

cd angular2-spa-boilerplate

npm install

python -m http.server  # or your favorite server... this example is for Python 3

Browse to localhost:port (or 127.0.0.1:8000 in my case) to see the result.

Topics covered:

  • Organizing your files
  • Angular 2 boilerplate code
  • Some additions and conventions this is boilerplate
  • Creating a component
  • Creating a new route
  • Rendering a variable
  • Call functions by clicking
  • Creating and using a custom pipe
  • Making an ajax call

About

Angular 2 example in plain javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published