Set `scope` after DOM ready