Adding the sending of global template data to the component through the constructor so global variables can permeate passed the layout.