Skip to content

Instantly share code, notes, and snippets.

@rolaveric
Created September 6, 2015 07:23
Show Gist options
  • Save rolaveric/2b5e689e85e6991ac6ac to your computer and use it in GitHub Desktop.
Save rolaveric/2b5e689e85e6991ac6ac to your computer and use it in GitHub Desktop.
HTML template for falcorGetterSetter.js
<dl>
<dt>Title</dt>
<dd>{{:: ctrl.viewValue('titlesById[0].title')}}</dd>
<dt>Description</dt>
<dd><input type="text" ng-model="ctrl.getterSetter('titlesById[0].description')" ng-model-options="{getterSetter: true}"/></dd>
</dl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment