AngularJS Questions

http://docs.webix.com/samples/33_angular/04_events.html

I figured out view doesn’t update unless if you don’t click on it.

Is it because of $scope.$digest();

Also How to convert this to HTML Angular?

	{
		width: 200,
		rows:[
			{
				view: "tree",
				id: "app:menu",
				type: "menuTree2",
				css: "menu",
				activeTitle: true,
				select: true,
				tooltip: {
					template: function(obj){
						return obj.$count?"":obj.details;
					}
				},
				on:{
					onBeforeSelect:function(id){
						if(this.getItem(id).$count){
							//debugger;
							return false;
						}
						
					},
					onAfterSelect:function(id){
						this.$scope.show("./"+id);
						var item = this.getItem(id);
						webix.$$("title").parse({title: item.value, details: item.details});
					}
				},
				data: data
			}
		]
	}

Yep, if you are changing the data from inside of webix event handler you need to trigger digest manually.

( it will be too expensive to trigger digest after each Webix event handler )