So finally I evolve myself learning the Angular-Cli and finished Tour of 
heroes by John Papa here 
https://www.youtube.com/watch?v=WAPQF_GA7Qg&index=2&list=PLOETEcp3DkCq788xapkP_OU-78jhTf68j

not without difficutlies cause angular syntax changed this way:

no need to declare directives referencing nested components i.e.
@Component({
    moduleId:module.id,
    selector:'toh-heroes',
    templateUrl:'heroes.component.html',
    *directive : [HeroComponent]   <-- no need*

also come in hand the no need to import components HeroComp in parent 
HeroesComponent

what is blowing me up is the html syntax i.e

<div *ngIf="hero">
we selected <input [{ngModel}}]="hero">
</div>

give error on JS console  : {ngModel}  is not a field 

so before I go on with John papa old tutorial 
Some buddy  can point me on a tutorial up - to -date with angular-cli ?

thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to