New to Kendo UI for jQuery? Download free 30-day trial

Initializing with AngularJS

You can configure declaratively initialized widgets by using the AngularJS directives.

The following example refers to the AngularJS directive in the Kendo UI AutoComplete. For more information on the features of the Kendo UI AngularJS directives, refer to the introductory article on AngularJS.

    <div ng-app="myApp">
        <div ng-controller="MyController">
            <input kendo-autocomplete k-data-source="dataSource" />

        var myApp = angular
                        .module("myApp", [ "kendo.directives" ])
                        .controller("MyController", function($scope) {
                          $scope.dataSource = [
                                     'foo', 'bar', 'baz'

See Also

In this article