castillo-io / castillo-io/angular-css
Dynamic CSS URL
Open
- Dominant language
- JavaScript
- Stars
- 464
- Forks
- 84
- PR merge metrics
- No merged PRs in 30d
Description
Currently I am using a dynamic template URL using a function as given below in the Routes.
```
.when('/:page', {
templateUrl : function(url) {
return '/static/partials/' + url.page + '/template.html';
},
....
}
```
When I tried the same with CSS, it is unable to find "url"
```
css : function(url) {
return '/static/partials/' + url.page + '/styles.css';
}
```
Is there any chance that we can provide Dynamic CSS URL as mentioned above?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.