apollodec/Apollo/assets/js/controllers/nestableCtrl.js
saravanakumar_kandasami 7d72a0b91a updated code
2017-11-21 14:56:39 +05:30

74 lines
1.5 KiB
JavaScript

'use strict';
/**
* controllers for angular-nestable
* Angular module for jQuery nestable plugin
*/
app.controller('nestableCtrl', ["$scope", function ($scope) {
$scope.mdl = [{
item: {
text: 'Products'
},
children: [{
item: {
text: 'Features'
},
children: []
}, {
item: {
text: 'Gallery'
},
children: []
}, {
item: {
text: 'Plans'
},
children: [{
item: {
text: 'Purchase'
},
children: []
}, {
item: {
text: 'Confirmation'
},
children: []
}]
}]
}, {
item: {
text: 'About Us'
},
children: [{
item: {
text: 'Executive Team'
},
children: []
}, {
item: {
text: 'Corporate Responsibility'
},
children: []
}]
}, {
item: {
text: 'Careers'
},
children: [{
item: {
text: 'Search Jobs'
},
children: []
}, {
item: {
text: 'Events'
},
children: []
}]
}, {
item: {
text: 'Contact Us'
},
children: []
}];
}]);