I have two directives ‘chart’, and ‘legend’.
From the chart directive I append
<legend forScope="' + scope.$id + '"></legend>
but the legend directive never runs. How do I get angular to process the legend element?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Without looking at your code, it is not clear what are you doing. But generally, you will use the
$compileservice to compile the generated content before appending it to the dom. See http://docs.angularjs.org/api/ng.$compile