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