Could you please show how you fixed?

2014-12-06 0:58 GMT-06:00 Rohit Singhal <[email protected]>:
> thanks Eric, I will give it a try.
>
>
> On Sun Nov 30 2014 at 8:58:11 PM Eric Eslinger <[email protected]>
> wrote:
>>
>> I was just about to respond about that- ngInclude or a custom directive is
>> more appropriate inside a ng-repeat. I prefer custom directives, myself.
>>
>> e
>>
>> On Sun Nov 30 2014 at 7:26:06 AM Rohit Singhal <[email protected]>
>> wrote:
>>>
>>> Never mind, solved this using ngInclude.
>>>
>>> On Sun Nov 30 2014 at 7:03:50 PM Rohit Singhal
>>> <[email protected]> wrote:
>>>>
>>>> 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.
>>>
>>> --
>>> 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.
>>
>> --
>> 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.
>
> --
> 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.



-- 
"El desarrollo no es material es un estado de conciencia mental"

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