*EDIT*

*config.js *:

.state('index', {

url: '/',

contoller: 'SiteController',

views: {

"default": { templateUrl: "index.html" },

"product-single": { templateUrl: "product-single.html" }

}

})


*Layout *:

<div ui-view="default"></div>


*index.html* (used as view/partial) :

<div class="item" ng-repeat="product in products">

<div ui-view="product-single"></div>

</div>

 
As you see I am using angular-ui-router here. Problem I am facing is 
partial is rendered with ng-repeat. Is there any way to do it?

-- 
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