(function() {
    'use strict';

    angular
        .module('app.summary')
        .controller('SummaryController', SummaryController);

    /* @ngInject */
    function SummaryController($element, summary) {
        var vm = this;

        vm.summary = summary;
    }
})();

@@ -257,16 +257,440 @@
 ummary;%0A
+%0A        console.log(summary);%0A%0A        var graph = d3%0A            .select('.graph')%0A            .append('svg:svg')%0A            .attr('width', 900)%0A            .attr('height', 450);%0A%0A        var yAxis = d3.scale.linear().domain(%5B0, 1%5D).range(%5B0, 400%5D);%0A%0A        graph%0A            .append('svg:rect')%0A            .attr('x', 100)%0A            .attr('y', yAxis)%0A            .attr('height', 100)%0A            .attr('width', 20);%0A%0A
     %7D%0A%7D)

Update d3 graph initialized