klei/gulp-inject

ng-href instead of href

aboalwi opened this issue · 1 comments

How can i write ng-href instead of href
it's needed to support rtl languages and switch to the right css dynamically

the final result should be like this:

<link rel="stylesheet" ng-href="css/rtl/style{{isRTL ? '_rtl' : ''}}.css">

Hello! This is possible using the transform option, see this example for instance