Skip to content

pikoscielniak/ng2-minimal

 
 

Repository files navigation

Angular 2 JumpStart with TypeScript and new Router

The goal of this jumpstart app is to provide a simple way to get started with Angular 2 while also showing several key Angular 2 features. The sample relies on System.js to load TypeScript modules and the required scripts used in the application.

Simply clone the project or download and extract the .zip to get started

Angular 2 Concepts Covered

For router tutorial: http://victorsavkin.com/post/145672529346/angular-router

  • New Router
  • TypeScript (must use 1.9+)
  • Modules are loaded with System.js
  • Defining routes (including child routes)
  • Using Custom Components
  • Using Custom Directives
  • Defining Properties and Using Events in Components/Directives

Running the Application

  1. Run npm install to install app dependencies
  2. Run npm start in a separate terminal window to build the TypeScript, watch for changes and launch the web server

Want to learn more Angular2?

visit: https://github.com/born2net/ng2Boilerplate

About

angular2 new router project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.8%
  • CSS 13.2%
  • JavaScript 8.8%
  • HTML 7.2%