Properly detect websocket routes
Set up the angularjs app