clever solution Kranthi.

thanks

Em terça-feira, 2 de dezembro de 2014 06:18:23 UTC-7, Kranthi Kiran 
escreveu:
>
> adding an ng-if="'true'" inside the ng-include directive did the trick for 
> me. I guess ng-if creates a new scope for the containing element.
>
> In your case, the code would look like - 
>
> <ng-include src="'partials/addressform.html'" onload="type='billing';" 
> ng-if="'true'"></ng-include>
>  <ng-include src="'partials/addressform.html'" onload="type='delivery';" 
> ng-if="'true'"></ng-include>
>

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