title: Angularjs Signalr load dynamically generated in web api
body: <p>I want to integrate SignalR with an AngularJs app.</p>
  
  <pre><code>$scope.ceva = function () {
      var proxy = $.connection.chatHub;
      $.connection.hub.start().done(function () {
          console.log("started");
      })
  }
  </code></pre>
  
  <p>I included the next file:     <code>&lt;script src="http://ajax.aspnetcdn.com/ajax/signalr/jquery.signalr-2.2.0.js"&gt;&lt;/script&gt;</code></p>
  
  <p>But I get the following error: SignalR: Error loading hubs. Ensure your hubs reference is correct, e.g. script src='/signalr/js'>
  
  <p>What files do I need to load? </p>
  
  <p>Edit:</p>
  
  <p><strong>So I understood that I need to load the dynamically generated Hub. How could I do that in WebApi??</strong></p>