Skip to content

emsedano/j4ng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

=> j4Ng ???

@emsedano (github.com, live.com.mx @eliasmsedano (gmail.com, linkedin.com, twitter.com) @eliasm (mx1.ibm.com)

Agenda

  • Prerequisites & first step (to create an ng app)
    • npm oooobviously
    • @angular/cli
  • Components
  • Data & event binding
  • Directives (very small talk)
  • Routing
  • Services
  • Deploying

Prerequisites

We only need npm (NodeJs comes implicitly) and @angular/cli and that should be enough so let's type npm i -g @angular/cli

The first steps (create a ng app)

With our just recently added friend @angular/cli we are just going to type in console

ng new <appName>
# other good options to start over
ng new <appname> --style=scss --routing
# it oviusly set scss for style instead of css and also 
# enables the routing

Once done just go and do ng serve and once it finishes

Just go to localhost:4200 type ng to see more options