AngularJS primitive bindings for thread.js