Last active
September 8, 2015 10:39
-
-
Save rolaveric/2f1a043a8b698eecf551 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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