Compile kendo template with angular markup

2 posts, 0 answers
  1. Lisitsa
    Lisitsa avatar
    16 posts
    Member since:
    Apr 2014

    Posted 02 Jun 2016 Link to this post

    Hello, I have template with angular markup. And I want to compile it properly.
    For example: "<span ng-click='someAction()'></span>".

    How can I compile it properly, so when I append it to element angular directive ngClick will work?
  2. Alexander Valchev
    Alexander Valchev avatar
    2895 posts

    Posted 06 Jun 2016 Link to this post

    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.

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top