There is a given directive as an attribute ng-menu with the following array value:

```
<div data-ng-menu="['Home','Settings','About']"></div>

```

I need to list each item in this array like this:

* Home
* Settings
* About

I have tried something like this:

```
app.directive('ngMenu', function () {
    var menu = {};
    var getItems = function(scope, element, attributes) {
    //I suppose I should get the array value here
}
    menu.restrict = 'AEC';
    menu.link = getItems;
    template : '<ul>'
             + '<li>items</li>'
             + '</ul>';
    return menu;
});

```

Can anyone help me with this? I have read the Angular Doc but I didn't find a useful solution