Set of angular clusters of Google Map ()

How can I use my own calculator in a gm-marker-cluster directive? I found a setCalculator () Method but I do not know how to use it, there are no examples.