Context issue in the function all()

When the function is called in the scope, "this" is an element of the scope. It's a context issue.

Defined "serviceInstance" solve it.