Created
November 25, 2013 04:35
-
-
Save PetersonDave/7636427 to your computer and use it in GitHub Desktop.
Sitecore rendering for view within an Angular app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Control Language="c#" AutoEventWireup="true" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %> | |
<div data-ng-controller="allprofiles as vm"> | |
<p><a class="btn btn-primary btn-lg" ng-click="vm.load();">Load Data</a></p> | |
<div class="row" ng-repeat="profile in vm.repository"> | |
<div class=" col-md-1"> | |
<a class="btn btn-danger btn-small" href="#profiles/{{profile.ID}}">Edit</a> | |
</div> | |
<div class="col-md-1">{{profile.DisplayName}}</div> | |
<div class="col-md-6">{{profile.ID}}</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment