Closed lucaskatayama closed 8 years ago
Hi
I think this
$scope.menuOptions = [ ['Parent Item 1', function ($itemScope) { // Code }, ['Child Item 1', function ($itemScope) { // Code }], ['Child Item 2', function ($itemScope) { // Code }] ] ];
Should be this:
$scope.menuOptions = [ ['Parent Item 1', function ($itemScope) { // Code }, [['Child Item 1', function ($itemScope) { // Code }], ['Child Item 2', function ($itemScope) { // Code }]] ] ];
With extras open and close brackets for parent's thid argument, right?
Correct! Fixed.
Thanks! :smile:
Hi
I think this
Should be this:
With extras open and close brackets for parent's thid argument, right?