Advertisement
Guest User

Untitled

a guest
Sep 6th, 2015
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $scope.treeMenu = [
  2.     {
  3.         'id': 1,
  4.         'title': 'node1',
  5.         'template': 'default',
  6.         'type': 'так так так',
  7.         'nodes': [
  8.           {
  9.             'id': 11,
  10.             'title': 'node1.1',
  11.             'nodes': [
  12.               {
  13.                 'id': 111,
  14.                 'title': 'node1.1.1',
  15.                 'nodes': []
  16.               }
  17.             ]
  18.           },
  19.           {
  20.             'id': 12,
  21.             'title': 'node1.2',
  22.             'nodes': []
  23.           }
  24.         ]
  25.       }, {
  26.         'id': 2,
  27.         'title': 'node2',
  28.         'nodes': [
  29.           {
  30.             'id': 21,
  31.             'title': 'node2.1',
  32.             'nodes': []
  33.           },
  34.           {
  35.             'id': 22,
  36.             'title': 'node2.2',
  37.             'nodes': []
  38.           }
  39.         ]
  40.       }
  41.       ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement