feat(hint.inspectScope): add API for setting `window.$scope`