Skip to content

Instantly share code, notes, and snippets.

@sebastienblanc
Created March 20, 2014 21:25
Show Gist options
  • Save sebastienblanc/9674210 to your computer and use it in GitHub Desktop.
Save sebastienblanc/9674210 to your computer and use it in GitHub Desktop.
bind: [{
to: { $ref: 'firstCollection' },
bindings: {
firstName: '.first-name',
lastName: '.last-name'
},
{to: { $ref: 'secondCollection' },
bindings: {
contractNumber: '.contractNumber',
lastName: '.last-name'
}
}]
@unscriptable
Copy link

oops, i goofed on this line. the "at" doesn't need another "$ref":

element: { $ref: '.some-class-of-a-child-element', at: 'conversationSectionView' },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment