Sander,
I have a kendo menu and the menu items are loaded asynchronously from an
SQL database. Unfortunately, kendo does not currently allow dynamically
loaded datasources for the menu. So instead of
<div ng-controller="menuCtrl">
<ul kendo-menu style="display: inline-block" k-data-source="menuData"></ul>
</div>
I am looking into something like
<ul id="menu"></ul>
<div id="div1" ng-controller="menuCtrl">
<script>
var scope = angular.element($("#div1")).scope();
$(document).ready(function(){
$("#menu").kendoMenu({dataSource: scope.menuData})
})
</script>
--
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.