Angular CLI

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Angular CLI

Getting started with Angular 2 and Angular CLI. Presented at Angular AfterHours Meetup: http://www.meetup.com/Angular-AfterHours/ and at JS-IL conference: https://js-il.com/

Shmuela Jacobs

June 26, 2016

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

36 slides
  1. What do you like the most about development? setting up

    the project choosing a build tool writing build scripts writing unit tests writing boilerplate creating files - html, css, js configuring e2e tests
  2. What do you like the most about development? setting up

    the project choosing a build tool writing build scripts writing unit tests writing boilerplate creating files - html, css, js configuring e2e tests
  3. <h1>
 {{title}}
 </h1> import { Component } from '@angular/core'; @Component({


    moduleId: module.id,
 selector: 'sj-root',
 templateUrl: 'app.component.html',
 styleUrls: ['app.component.css'] })
 export class AppComponent {
 title = 'app works!';
 }
  4. <h1>
 {{title}}
 </h1> import { Component } from '@angular/core'; import

    { FirstComponentComponent } from './first-component';
 @Component({
 moduleId: module.id,
 selector: 'sj-root',
 templateUrl: 'app.component.html',
 styleUrls: ['app.component.css'] })
 export class AppComponent {
 title = 'app works!';
 }
  5. <h1>
 {{title}}
 </h1> import { Component } from '@angular/core'; import

    { FirstComponentComponent } from './first-component';
 @Component({
 moduleId: module.id,
 selector: 'sj-root',
 templateUrl: 'app.component.html',
 styleUrls: ['app.component.css'],
 directives: [FirstComponentComponent]
 })
 export class AppComponent {
 title = 'app works!';
 }
  6. <h1>
 {{title}}
 </h1> <sj-first-component></sj-first-component> import { Component } from '@angular/core';

    import { FirstComponentComponent } from './first-component';
 @Component({
 moduleId: module.id,
 selector: 'sj-root',
 templateUrl: 'app.component.html',
 styleUrls: ['app.component.css'],
 directives: [FirstComponentComponent]
 })
 export class AppComponent {
 title = 'app works!';
 }
  7. <h1>
 {{title}}
 </h1> <sj-first-component></sj-first-component> import { Component } from '@angular/core';

    import { FirstComponentComponent } from './first-component';
 @Component({
 moduleId: module.id,
 selector: 'sj-root',
 templateUrl: 'app.component.html',
 styleUrls: ['app.component.css'],
 directives: [FirstComponentComponent]
 })
 export class AppComponent {
 title = 'app works!';
 }
  8. ng g service shared/users ng g class shared/user ng g

    directive focus-me ng g pipe currency ng g interface item ng g enum categories ng g route user-dashboard

More Decks by Shmuela Jacobs

Other Decks in Technology