-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.js
65 lines (64 loc) · 2.05 KB
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
var app=angular.module('myApp',[]);
app.controller('myController',function($scope){
$scope.trees=[
{
name: 'e2e',
children:[{name:'e2e.component.ts'}],
visible: false
},
{
name: 'node_modules',
children: [{name:'node_modules.component.ts'}],
visible: false
},
{
name: 'src',
children: [
{name:'app',
children:[
{name:'treeview.component.css'},
{name:'treeview.component.html'},
{name:'treeview.component.spec.ts'},
{name:'treeview.component.ts'},
{name:'treeview.module.ts'}
],
visible:true
},
{name:'app.component.css',
children:[
{name:'app.treeview.component.css'}
],
visible: false
},
{name:'app.component.html',
children:[
{name:'app.treeview.component.html'}
],
visible: false
},
{name:'app.component.spec.ts',
children:[
{name:'app.treeview.component.spec.ts'}
],
visible: false
},
{name:'app.component.ts',
children:[
{name:'app.treeview.component.tc'}
],
visible: false
},
{name:'app.module.ts',
children:[
{name:'app.treeview.module.ts'}
],
visible: false
},
],
visible: true
}
]
$scope.rotate= {
true: 'rotate'
}
})