It breaks when moving from (Plnkr 
<http://plnkr.co/edit/RJapIWXCYVG4lvpveUfy?p=preview>):

.state('home', {url: '/home', template: '<pre>{{parentProp}}</pre>',
                controller: function ($scope) {$scope.parentProp = ['home'];}})

To (Plnkr <http://plnkr.co/edit/giW3XRspEV7SEPM1UDeC?p=preview>):

.state('home', {url: '/home', views: {'': {template: 
'<pre>{{parentProp}}</pre>'}},
                controller: function ($scope) {$scope.parentProp = ['home'];}})`


Specifically I have a 'sidebar' state I want to add as a secondary state to 
'home'.

Thanks for all suggestions on how to do this,

Alec Taylor

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to