Skip to content

Instantly share code, notes, and snippets.

@rolaveric
Last active September 8, 2015 10:39
Show Gist options
  • Save rolaveric/2f1a043a8b698eecf551 to your computer and use it in GitHub Desktop.
Save rolaveric/2f1a043a8b698eecf551 to your computer and use it in GitHub Desktop.
// snip ...
class MyController {
// snip...
getValue() {
this.model.getValue('titlesById[523].name')
.subscribe(value => {
this.value = value;
this.$scope.$evalAsync();
});
}
}
angular.module('falcorExample', [])
.controller('MyController', MyController);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment