Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Halifax Angular Meetup - Introduction to Angular

Halifax Angular Meetup - Introduction to Angular

Avatar for Wagner Moreira

Wagner Moreira

May 14, 2019
Tweet

Other Decks in Programming

Transcript

  1. OUTLINE • What is Angular • Why use Angular •

    Community • CLI • Typescript • Angular Workspace • Components • Life Cycles • Decorators • Directives • Demo Post Component
  2. Install At this point you must have node and NPM

    installed https://angular.io/guide/quickstart
  3. What is Angular? • Angular is a SPA framework for

    building web apps • It’s written in TypeScript • Developed by google • Open source
  4. Why would you learn Angular? Components - make reuse of

    html and functionality Data Binding - communication between components Modularity and Dependency Injection Good documentation and libraries
  5. Overview • Learn the basics of Angular • Code along

    the first part of a social media app that we will be building throughout this series of workshops http://bit.ly/ng-halifax-repo
  6. Component Life Cycle • ngOnChanges - called when an input

    binding value changes. • ngOnInit - after the first ngOnChanges. • ngOnDestroy - just before the component is destroyed. ngOnChanges ngOnInit ngOnDestroy
  7. Overview • What is Angular • Why use Angular •

    Community • CLI • Typescript • Angular Workspace • Components • Life Cycles • Decorators • Directives • Demo Post Component