I try to use the noDataTemplate as mentioned in example on "http://demos.telerik.com/kendo-ui/autocomplete/addnewitem" for adding new items if they not exist in data source. The data source in my case is a local one, NOT using remote data. My application is running with angular and I use the autocomplete inside an angular controller, NOT as angular directive. Inside the loaded template I try to use a scope function of my angular controller, to trigger the new item adding.
Now at run time, the template is inserted into the DOM at the end of the body not inside my controller area, where the autocomplete is located.
Now the problem is, that the scope function is not found in template. Is there any other approach or what is my mistake by initializing the autocomplete control?