AngularJS: 2 controllers
JS WebSocker array