angular - passing data between injectables in angular2 -


the question self explanatory, have seen since @injectables not components, cannot use traditional @input , @output job done. in advance !

you can inject 1 injectable second injectable via constructor:

import { securehttp } './securehttp.service';  @injectable() export class identityservice {    constructor(private http: securehttp) { } } 

Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -