use Scope Events Propagation to pass variables from child scope to parent scope