try remove abstract:true in order.company1.new state

Vào 22:08:30 UTC+7 Thứ Sáu, ngày 30 tháng 12 năm 2016, Fred đã viết:
>
> Hi, 
> I have a state configuration which does not work; (does not render 
> templates from level 3 states).
> check code below:
>
>
> .state('order', {
>                 url: '/orders',
>                 abstract: true,
>                 template: "<div ui-view></div>",
>                 controller: 'orderCtrl'
>             })
>             .state('order.start', {
>                 url: '/',
>                 template: Templates.states.start,
>                 data: {
>                     title: 'Orders',
>                     navigation: true
>                 }
>             })
>             .state('order.company1', {
>                 url: '/company1',
>                 abstract: true,
>                 template: "<div ui-view></div>",
>                 data: {
>                     contentType: "contentTypeId",
>                     navigation: false
>                 }
>             })
>             .state('order.company1.view', {
>                 url: '/:id',
>                 template: Templates.states.order.company1.view,
>             })
>             .state('order.company1.new', {
>                 url: '/',
>                 template: Templates.states.order.company1.new,
>             })
>
>
> If I remove the middle state "order.company1" it does work but I would 
> really like this this three level nested state configuration.
> What do I need to change in order for it to work properly?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to