Compile kendo template with angular markup

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

    Posted 02 Jun Link to this post

    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?
  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 06 Jun 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.

    Regards,
    Alexander Valchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top