Skip to content

Instantly share code, notes, and snippets.

@alivesay
Last active December 13, 2015 16:48
Show Gist options
  • Save alivesay/4942466 to your computer and use it in GitHub Desktop.
Save alivesay/4942466 to your computer and use it in GitHub Desktop.
Given this: http://jsfiddle.net/zZKHC/
Why doesn't the first ui-test element get processed by ng-transclude?
<body>
<div ng-app="myApp" class="ng-scope">
<div class="n0">ntimes test</div>
<div class="n1">ntimes test</div>
<div class="n2">ntimes test</div>
<div class="n3">ntimes test</div>
<div class="n4">ntimes test</div>
<div class="ui-test" current-value="5">
<span ng-transclude="" class="ui-rating-element n0"></span>
<span ng-transclude="" class="ui-rating-element n1"><div class="ng-scope">HI</div></span>
<span ng-transclude="" class="ui-rating-element n2"><div class="ng-scope">HI</div></span>
<span ng-transclude="" class="ui-rating-element n3"><div class="ng-scope">HI</div></span>
<span ng-transclude="" class="ui-rating-element n4"><div class="ng-scope">HI</div></span></div>
</div>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment