I am new to angular ui routing . I am creating a sample application and want to display parent and child view separately . I mean when parent item gets selected child view will be displayed and parent view would be hidden . If I add ui-view to parent view it just renders the child view their but I want parent view to be completely replaced . So Can anyone please help me on this .
So here I want to achieve , when parent item gets selected child will replace content.
I'd suggest you to change structure of your HTML that will have
ui-view="content"so we need to setcontentview from theviewsoption of state.Markup
Then you state would be change
contentofui-viewusing@relative routingConfig
Demo Plunkr