N.J. Const. art. VI, § III, ¶ 4
Subject to rules of the Supreme Court, the Law Division and the Chancery Division shall each exercise the powers and functions of the other division when the ends of justice so require, and legal and equitable relief shall be granted in any cause so that all matters in controversy between the parties may be completely determined.