Closed harshithkashyap closed 8 years ago
@harshithkashyap did you get this working with ng-include templates?
I'd recommend taking a look at the feature/v1.0.0-beta
branch. There's a lot of changes in there which you can read in #147
I've added a test case for this myself in feature/v1.0.0-beta
branch and is working fine
The path get's revved properly but the resulting string isn't a valid ng-include string value. With backlashes in the ng-include="'the\path\to'" the slashes are just escaping characters at runtime, for the case of ng-include it should replace the path with forward slashes, or double back slashes. Any plan to improve this? or suggestions?
I'm trying to bust the angular partials loaded via ng-include using filters. I've tried the following methods but it doesn't seem to work.
HTML
<div ng-include="'/templates/angular/index.html'"></div>
Gruntfile