Having 2 components, how can I call a function from another one?
I’m importing this component in my plateEditcomponent:
import { name as Edition } from ‘…/edition/edition’;
and I’ld like to call update() which is a function defined in edition from plateEdit.
I can call whatever I want inside of but not from outside.
I’m using Angular 1 and it’s a bit difficult to find info with Angular1 + TS about this (everything is related with 2.0).
Thanks in advance!