Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sharing same views (with controllers) for several areas
Message
 
 
À
06/05/2015 11:26:23
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01619445
Message ID:
01619476
Vues:
20
>>>Your first ui-view is not named.....
>>
>>I know it's not named. This is to allow a loop like this:
>>
>>
>><tabset vertical="true" type="pills">
>>                                    <tab ng-repeat="tab in tabsViews" select="selectView(tab.index)" ng-show="tab.isVisible"
>>                                         class=" {{tabsViews[tab.index-1]['invalid'] ? 'invalid-tab': 'valid-tab' }}">
>>                                        <tab-heading>{{tab.title}}</tab-heading>
>>                                    </tab>
>>                                </tabset>
>
>I don't understand what the tabset has to do with it. Your 'edit.invoices' state defines two views but your markup only has a placeholder for one....

I have detail view also in the markup now.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform