Skip to content

Latest commit

 

History

History
100 lines (85 loc) · 4.01 KB

README.md

File metadata and controls

100 lines (85 loc) · 4.01 KB

angular-typescript

A small Angular project to get a grasp on TypeScript with Angular 1.0 and Grunt (just to prove it's doable and way less convenient than Webpack)

This project is divided into three parts:

  • Angular VanillaJS implementation
  • Angular TypeScript implementation
  • REST API in Node to serve both of them

JavaScript and friends

Webapp structure with npm and Grunt

First steps with AngularJS 1.x

Routing

  • Single page applications
  • Routing configuration and deep linking
  • Browsing $history and hyperlink parameters
  • The benefits of ui-router
  • View display

Controllers and Scopes

Forms

  • Form validation in Angular
  • pristine and dirty, how deep is valid
  • Styling forms in Angular

Filters

  • How to setup an existing |filter?
  • Parameters to filter
  • Your own filters

Directives

  • Definition and API: finally a place for my jQuery!
  • $scoping with a directive
  • Lifecycle from birth to $destroy
  • ngModelController
  • Transclusion
  • $parse, $sompile, angular.element
  • e.preventDefault magic

Services, factories and REST architecture

Internationalisation (i18n)

  • How to activate internationalization in a project
  • Dates formatting, numbers and currency
  • [Best practices for translating your own application]

Angular 2

(if we have time) Testing Angular

  • Jasmine, Mocha, Karma, Protractor?
  • Unit tests
  • Testing improves quality of code

Books I recommend: