-
-
Notifications
You must be signed in to change notification settings - Fork 493
Closed
Labels
Description
Steps to reproduce
N/A
Expected behaviour
Would be nice to have a new rz-slider-tpl directive attribute instead/along with the current rz-slider-tpl-url. That would help folks using webpack to require their custom templates upfront as usual, without the need to lube up $templateCache upfront.
So with something like this in a controller:
scope.tplt = require('./my_custom_slider_template.html');
... markup would look like this:
<rzslider rz-slider-tpl="{{ tplt }}" rz-slider-model="slider.value" rz-slider-options="slider.options">/rzslider>
Actual behaviour
Only rz-slider-tpl-url is supported.
helgetan