Skip to content

Instantly share code, notes, and snippets.

@rolaveric
Last active September 2, 2015 12:41
Show Gist options
  • Save rolaveric/489562fb0d4240936231 to your computer and use it in GitHub Desktop.
Save rolaveric/489562fb0d4240936231 to your computer and use it in GitHub Desktop.
View template using viewValue() method, for FalcorJS + AngularJS v1.x post.
<dl>
<dt>Title</dt>
<dd>{{:: ctrl.viewValue('titlesById[0].title')}}</dd>
<dt>Description</dt>
<dd>{{:: ctrl.viewValue('titlesById[0].description')}}</dd>
</dl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment