Skip to content

Instantly share code, notes, and snippets.

@mattgen88
Created November 14, 2013 02:06
Show Gist options
  • Save mattgen88/7460106 to your computer and use it in GitHub Desktop.
Save mattgen88/7460106 to your computer and use it in GitHub Desktop.
menu template for angular app not rendering properly in 1.2.0-rc3, worked in rc2
<div id="menu">
<div>
<a ng-click="loadAllContent()" class="btn btn-default btn-block">All Feeds</a>
<a ng-repeat="feed in feeds" ng-click="$parent.load(feed.2)" class="btn btn-default btn-block">{{feed.0}}</a>
<a ng-click="addFeed()" class="btn btn-default btn-block">+ Add Feed</a>
</div>
</div>
<div class="modal fade" id="feedadd">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">Add A Feed</h4>
</div>
<div class="modal-body">
<input ng-model="feeds.newurl" id="feedurl" type="text" placeholder="URL" class="form-control" />
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" ng-click="addFeedUrl(feeds)">Import Feed</button>
</div>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment