docs(angular-amd, angular-commonjs): adjust context return type