angular-ui/angular-ui-docs — pull request #10 by douglasduteil (2013-08-17 05:56:03+00:00)
Title: [FT] Add plunk generator

### Here is my [ui.bootstrap plunker](https://github.com/angular-ui/bootstrap/blob/gh-pages/assets/plunker.js) fork for various modules.

What it looks like ;
```html

Edit in plunker

[HTML HERE]

a
[JS HERE]

[CSS HERE]

```

I didn't change a lot of things.

#### The important part is this one :

```html

[...]
```
Where `ng-init` allow you to inject css files in the plunk header and javascript files at the end of the body :

- **vendor_css** : the css files dependencies
- **vendor_js** : the javascript files dependencies

Then, the `edit` function takes as argument
1. **ngVersion** : the angular version you want in the demo (here v1.0.7)
2. **moduleName** : the name of the module.
2. **repoName** : the name of the repository.

More generally the tabs are optional. For now you can only have only one of each.

I'll use this directive in some module demo so you have some examples.

Close #9