Hi All
Basically, super class has construction injection  and child class 
implement super class, how to do this? below link gives a solution, but I 
am not sure what it is, 

http://willseitz-code.blogspot.com.au/2015/08/angular-and-typescript-inheritance-and.html?showComment=1454628375575


@Injectable()
class MassageService{
    public getMassage(){ console.log("relax!")}
}

@Component({
providers [MassageService]
})

class Person{
  private massageService : MassageService;
constructor(massageService: MassageService)
}


*****************************
class Oldman implements Person{
         constructor(){} ????????????
}

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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