Thanks a lot for the simple solution.

On Tuesday, December 2, 2014 at 6:48:23 PM UTC+5:30, Kranthi Kiran wrote:
>
> 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 
"Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to