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

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -