Skip to content

Commit a1ef0ac

Browse files
author
Egor Boaghi
committed
Add standalone: false for UIViewNgUpgrade component in angular-hybrid.ts
1 parent 55f79f2 commit a1ef0ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/angular-hybrid.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export function objectFactory() {
114114
* </div>
115115
* ```
116116
*
117-
* This adapter exposes exposes the parent view context (ParentUIViewInject)
117+
* This adapter exposes the parent view context (ParentUIViewInject)
118118
* as an ng2 DI Provider, which the nested ng2 UIView requires.
119119
*
120120
* It gets the ParentUIViewContext information (from the parent ng1 ui-view) by walking
@@ -126,6 +126,7 @@ export function objectFactory() {
126126
// provide a blank object as PARENT_INJECT.
127127
// The component will add property getters when it is constructed.
128128
viewProviders: [{ provide: UIView.PARENT_INJECT, useFactory: objectFactory }],
129+
standalone: false,
129130
})
130131
export class UIViewNgUpgrade {
131132
// The ui-view's name (or '$default')

0 commit comments

Comments
 (0)