This is a migrated thread and some comments may be shown as answers.

Compile kendo template with angular markup

1 Answer 140 Views
Templates
This is a migrated thread and some comments may be shown as answers.
Lisitsa
Top achievements
Rank 1
Lisitsa asked on 02 Jun 2016, 02:27 PM
Hello, I have template with angular markup. And I want to compile it properly.
For example: "<span ng-click='someAction()'>dataItem.property</span>".

How can I compile it properly, so when I append it to element angular directive ngClick will work?

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 06 Jun 2016, 08:21 AM
Hi Lisitsa,

I am not sure if I understood correctly the question. If the template is a Kendo Widget template, the widget will automatically compile it.

If it not a Kendo widget template you should compile it in the same way you compile AngularJS templates.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Templates
Asked by
Lisitsa
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or