Update ngWebSocket.js

Added a simple switch for switching on requirejs