Thank you, but this isn't solution I am looking for. Because the speciefied 
content must come from within the <my-person> Tags. The developer using my 
lib later haven't got the possibility to change the template and he should 
also be able to use the current person.

Christian

Am Freitag, 4. Dezember 2015 18:13:28 UTC+1 schrieb adil mourahi:
>
>
> Hi,
>>
>  
>
>>
>> The outside:
>>
>>       <my-person>
>>       </my-person>
>>
>> The inside template of my-person:
>>
>>     <div *ng-for="#person of people">
>>       <h3>Person - {{person.name}}</h3>
>>       {{content}}
>>       <hr />
>>     </div>
>>
>> look here : 
>     http://plnkr.co/edit/uh0D08EEwaTnE8OTq7DW?p=preview  
> <http://plnkr.co/edit/uh0D08EEwaTnE8OTq7DW?p=preview>
>

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