This sample is from Youtube Angular 2 Tutorial for Beginners: Learn Angular 2 from Scratch by Mosh Hamedi. if you want to go deeper about Angular 2, I recommend to take the course Angular 2 with TypeScript on Udemy.
- Jumpstart - Quick understanding of how to build an App with Angular 2.
- 101 - Property Binding, Class and Style Binding, Event Binding, Two way Binding.
- 102 - Component API in depth.
- 103 - Controlling Rendering of the HTML.
- 104 - Forms and Validations.
- First instal NodeJs
- Install typescript globally
npm install -g typescript
npm install -g typings
you can update the npm to the latest version. Navigate in your shell to your node installation directory, eg C:\Program Files (x86)\nodejs
npm install npm
We are going to use Visual Studio Code for editing our project after you checkout this repository. Run the command below for install the dependencies
npm install
npm run typings install
npm start
As a C# developer, I find this video provides a good understanding of :
- Angular 2 project structure and setting.
- How the Typescript compiler generate the Javascript file.
- Basic Compoment syntax (metadata).
- Reference to a directive.
- Basic binding concept.
- Dependency Injection.