title: how to use JointJS with Angular4?
body: <p>It does not work out of the box (it crashes on an error "b.call is not a function").</p>
  
  <p>In the official <a href="https://github.com/clientIO/joint/blob/master/tutorials/requirejs.html" rel="nofollow noreferrer">tutorials</a> they say </p>
  
  <blockquote>
    <p>we have to trick Backbone to use Lodash instead of Underscore (this
    is because JointJS requires Lodash, not just Underscore)</p>
  </blockquote>
  
  <p>this is confusing and seems a bit like hacking. The biggest problem here though is that I have no idea how to do that in Angular4 (which internally uses webpack).</p>