Changed an angularjs method name to better reflect its actual behavior.