I've done nothing but copy verbatim the example code. i've stripped down everything to just the very basics as you have in the example, but regardless, the directive for swipe-card fails becuase the swipe-cards argument to the directive is never valid...
so this the last argument (swipe-cards) on the compile function for the swipe-card directive line is just never properly set:
(line 297)
...
compile: function(element, attr) {
return function($scope, $element, $attr, swipeCards) {
var el = $element[0];
...
Cearly the swipe-card directive requires that it is contained within a swipe-cards(plural) directive.. and it is as i've only copy-pasted the example... so I always get this error:
(anonymous function) (angular.min.js, line 99)
(anonymous function) (angular.min.js, line 74)
U (angular.min.js, line 68)
C (angular.min.js, line 57)
g (angular.min.js, line 50)
(anonymous function) (angular.min.js, line 49)
(anonymous function) (angular.min.js, line 50)
k (angular.min.js, line 54)
link (angular.min.js, line 231)
(anonymous function) (angular.min.js, line 68)
U (angular.min.js, line 68)
C (angular.min.js, line 57)
g (angular.min.js, line 50)
C (angular.min.js, line 57)
g (angular.min.js, line 50)
g (angular.min.js, line 50)
(anonymous function) (angular.min.js, line 49)
(anonymous function) (angular.min.js, line 18)
$eval (angular.min.js, line 121)
$apply (angular.min.js, line 121)
(anonymous function) (angular.min.js, line 18)
e (angular.min.js, line 36)
d (angular.min.js, line 18)
kc (angular.min.js, line 18)
Ad (angular.min.js, line 17)
(anonymous function) (angular.min.js, line 241)
j (jquery.min.js, line 2)
fireWith (jquery.min.js, line 2)
ready (jquery.min.js, line 2)
I (jquery.min.js, line 2)
My html the quite obviously does have the proper nesting of the swipe-card directives nested within swipe-cards:
Help Out
<swipe-cards>
<swipe-card on-card-swipe="cardSwiped()" id="start-card">
Swipe down for a new card
</swipe-card>
<swipe-card ng-repeat="card in cards" on-destroy="cardDestroyed($index)" on-card-swipe="cardSwiped($index)">
<div ng-controller="CardCtrl">
<div class="title">
{{card.title}}
</div>
<div class="image">
<img ng-src="{{card.image}}">
</div>
<div class="button-bar">
<button class="button button-clear button-positive" ng-click="goAway()">Answer</button>
<button class="button button-clear button-positive" ng-click="goAway()">Decline</button>
</div>
</div>
</swipe-card>
</swipe-cards>
Please throw me a bone here... 8 hours in and I can't get a cut-and-paste of the example to work at all.