angular-ui/angular-ui-docs — pull request #8 by douglasduteil (2013-07-29 13:04:36+00:00)
Title: Refacto more grunt

Alright
I removed my angular hack to a more standard doc generation.
Now your grunt must content a more complex _view_ key with the demo and its dependencies into it :

```Javascript
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
view : {
humaName : "UI ",
repoName : "",
demoHTML : grunt.file.read("demo/demo.html"),
demoJS : grunt.file.read("demo/demo.js"),
css : [
''
],
js : [
''
]
}
},
copy: {
template : {
options : {processContent : (function(content){
return grunt.template.process(content);
})},
files: [
{src: ['out/.tmpl/index.tmpl'], dest: 'out/index.html'}
]
}
}
```

I'm going to update angular-ui/ui-codemirror and angular-ui/ui-ace so you can see how to use it.