BUGFIX: another fix for AssertionError (PanelTemplate put)
use $q.all() to wait for all promises in parallel when initializing the site panel