       validator: validator
       init: (name, rule, services) ->
         testFactoryInit = true
+        if services.watchField? then testGetServices = true
+        else dump services
     }
   )
 

      ]
  
  testFactoryInit = false
  angular.module('TestModule', []).factory('testFactory', ->
    validator = (name, values, rule) ->
      if values[name]? and values[name] == 'test' then return true

      error: (msg) -> fieldError = true
      ok: () -> fieldError = false

    # dependencie initialisation
    expect(testFactoryInit).toEqual true
    expect(testGetServices).toEqual true

    # normal validation    
    service.watchField('field1', handlers)
