Integrating AngularJS and Three js