move the hidden data div and inputsignal before the angularjs div.