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