Skip to content

Instantly share code, notes, and snippets.

@tschieggm
Created February 4, 2014 19:56
Show Gist options
  • Save tschieggm/8811121 to your computer and use it in GitHub Desktop.
Save tschieggm/8811121 to your computer and use it in GitHub Desktop.
angular idiosyncrasies
<!-- this breaks -->
<div>
<div class="row-fluid">
<sd:directive ng-repeat="x in list" param="x" />
<h1>Hello?</h1>
</div>
</div>
<!-- one working alternative -->
<div>
<div class="row-fluid">
<sd:directive ng-repeat="x in list" param="x"></sd:directive>
<h1>Hello?</h1>
</div>
</div>
<!-- another alternative -->
<div>
<div class="row-fluid">
<div ng-repeat="x in list">
<sd:directive param="x" />
</div>
<h1>Hello?</h1>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment