fixed regisForm with equals directive. needs code review of the directive