-
Notifications
You must be signed in to change notification settings - Fork 190
Closed
Description
I'm getting this error when trying to use this grid with ExpressJS/Jade. Occurs at line 182:
var column = (index % self.$$scope.layout.columns) | 0;
HTML setup for Jade:
div(deckgrid, source="posts", cardTemplate="templates/grid-template.html", class="deckgrid")
Gets rendered as:
<div deckgrid="deckgrid" source="posts" cardtemplate="templates/grid-template.html" class="deckgrid ng-isolate-scope ng-scope">
<!-- ngRepeat: column in columns -->
</div>
As you can see there's nothing being output in the columns. I've tried setting the template to a full URL and doesn't work. Perhaps it's an issue with my data structure? Here's one object within the $scope.posts
array
{
_id: "528dbf28957ba0311a002208"
backupLink: "http://www.urbanoutfitters.com/urban/catalog/productdetail.jsp?id=28502466"
category: Array[3]
currency: "USD"
date: "2013-11-21T07:23:38.413Z"
dateUpdated: "2013-11-21T22:30:47.168Z"
description: ""
designer: "Urban Outfitters"
gender: "unisex"
imageurl: "http://images.urbanoutfitters.com/is/image/UrbanOutfitters/28502466_000_b?$detailmain$"
imgs: Array[4]
impressionURL: "http://www.awltovhc.com/image-7227532-11292048"
infoLink: "http://www.kqzyfj.com/click-7227532-11292048?url=http%3A%2F%2Fwww.urbanoutfitters. om%2Furban%2Fcatalog%2Fproductdetail.jsp%3Fid%3D28502466"
liked: "http://i.imgur.com/tEf77In.png"
likes: Array[0]
name: "My Bloody Valentine - MBV LP+CD"
nameTags: Array[10]
price: "46.98"
ships_to: "worldwide"
store: "Urban Outfitters"
systemName: "urban_outfitters_my_bloody_valentine_-_mbv_lp+cd"
}
There's about 30 of them in $scope.posts
and they print just fine when I put them in a {{posts}}
within my template.
Any ideas on a remedy?
Metadata
Metadata
Assignees
Labels
No labels