cloudspace/generator-angular — pull request #1 by jridgewell (2014-02-05 22:46:08+00:00)
Title: Fix useminPrepare task to rewrite relative CSS urls

First, tell useminPrepare to only 'cssmin' our CSS files (dropping the
concat task). See https://github.com/yeoman/grunt-usemin/issues/225.
Second, tell cssmin to rewrite relative urls to be relative to our app
directory.

This is particularly useful for bower install components that have CSS
files that reference relative urls. ie.

```
.
├── app
│ └── bower_components
│ └── component
│ ├── images
│ │ └── image.png
│ └── style.css
└── build
```

```
body {
background: url('images/image.png');
}
```

Will have now properly rewrite it's image url to
```
body {
background: url('bower_components/component/images/image.png');
}
```