marmelab/ng-admin — pull request #153 by fzaninotto (2014-12-02 13:14:17+00:00)
Title: [RFR] Configurable actions

View actions are now configurable:

```js
editView.actions(['show', 'list', 'delete']);
```

Alternately, if you pass a string, it is compiled just like an Angular template, with access to the current `entry` in the scope. This allows to easily add custom actions, or customize the buttons appearance:

```js
var template = '' +
'' +
'' +
'';
editView.actions(template);
```

The same logic has been applied to `listActions()` (API unchanged), which is now able to handle a template.