title: How to use ng2-signalr
body: <p>I am trying to use signalr in angular.
  I have a working hub in c# with a function called Hello</p>
  
  <pre><code>public class myHub : Hub
  {
      public void Hello(string msg)
      {
          Console.WriteLine("HIIII" + msg);
      }
  }
  </code></pre>
  
  <p>I am using angular 5 and the package ng2-signalr, but I don't understand how to create a connection.
  I tried to follow the <a href="https://www.npmjs.com/package/ng2-signalr" rel="nofollow noreferrer">documentation</a> but I couldn't understand the flow of the code.
  can anyone point me to a guide or perhaps give a simple example</p>