Skip to content

mfrohberg/Angular2-JumpStart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Angular 2 JumpStart with TypeScript

Work in progress!

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

The sample is based on Angular Alpha 45.

Simply clone the project or download and extract the .zip to get started. Here are a few screenshots from the app:



Angular 2 Concepts Covered

  • TypeScript version that relies on classes and modules
  • Required scripts are downloaded locally using JSPM
  • TypeScript modules are loaded with System.js
  • Defining routes and using router-outlet
  • Using Custom Components
  • Using Custom Directives
  • Using Custom Pipes
  • Defining Properties and Using Events in Components/Directives
  • Using the Http object for Ajax calls
  • Working with Utility and Service classes (such as for sorting and Ajax calls)
  • Using the New Databinding Syntax [], () and [()]

Running the Application

  1. Install global pre-requisites npm install typescript live-server -g

  2. Run npm install to install app dependencies

  3. Run npm run tsc to start the TypeScript compiler and watch for changes

  4. Run npm start in a separate terminal window to start the server and launch the app

About

Angular 2/TypeScript JumpStart example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 44.4%
  • HTML 25.6%
  • TypeScript 19.4%
  • CSS 10.6%