     service.submit()
     expect(formSend).toEqual true
 
-
   )

          ]
        ]
      ]

  
  testFactoryInit = false
  angular.module('TestModule', []).factory('testFactory', ->

    expect(fieldError).toEqual true
    changeValue('fred@mail.com')
    
    # dependencie validation
    changeValue = service.registerField('field2', null)
    expect(service.validateField('field2')).toEqual false
