Using variables between templates


#1

my question is simple, I have some variables in my template

// father_template.js

var one = 'one';
var two = 'two'

Template.myTemplate.etc...
....
....

assuming I did a lot of changes in these variables and sometimes they can be objects, how can I easily use those variables in my other templates without making them global or without use sessions


#2

study for example this? https://github.com/aldeed/meteor-template-extension#templategetfieldname