angularjs config, directives and filters. also websocket-rails and events integration working