Add JS Variable assign at Template
and Controller