angular function in component code example Example: angular function in html <div> {{ function(param, param) }} </div>