Chartkit provides deep integration between the Angular framework and the wonderful Highcharts library. When building a serious data visualization app, you often end up with a Highcharts configuration object that runs several hundred or perhaps thousands lines long. Since this is a single object, it is not particularly modular. Similarly, Angular uses directives for its view layer, which are also configuration objects. Hence you end up with a long object in a link function in another long object.