-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Description
I'm using the translate directive on a tag that also has another transclude directive:
<div translate demo>Some text</div> demo = (function() {
function demo() {
return {
transclude: true,
template: "<p>Bla, bla <span ng-transclude></span></p>"
};
}
return demo;
})();(JavaScript was automatically generated from CoffeeScript with ng-classify:
class demo extends Directive
constructor: ->
return {
transclude: true
template: """
<p>Bla, bla <span ng-transclude></span></p>
"""
})
Setting demo directive's priority to -1000 translates Some text but replaced the demo's template entirely.
Is this supposed to work somehow? or I must to put translate on another inner tag:
<div demo><span translate >Some text</span></div>Metadata
Metadata
Assignees
Labels
No labels