Call
Example component
@Component({ ... })
class ExampleComponent {
method(value: string): string {
return value && value.toUpperCase();
}
}Call method via function
{{ text | call: method }}Call method via string
{{ text | call: 'method' }}Call method with additional arguments
Last updated