JavaScript
- Browser understands JS
- Problem in JS : Not strict
Typescript
- Superset of JS
- from Microsoft
- provides Type safety over JS code using NameSpace
- Strictly typed
- Browser doesn't support TS
- Typescript code is converted into JS using compiler
AngularJS
- MVW = Model+View+Whatever ; MVC based architecture
Angular 2x , 4x
- Modern and Fast
- Highy scalable
- Complete Re-write of v1
- Web components based architecture
- Written in TS
- Hierarchical dependency injection
- Reduced bundle size
- Animation module is moved out to a separate
- Support if/else
- Support email validator
Angular 5x
- Easy to build Progressive web apps - PWA (Mobile app feel)
- Updated HttpClient
- Internationalized number/date/currency pipes
- Type checking
- Better error msg
- New router lifecycle events