<commit_before>define(['app', 'lodash', 'text!./room-column.html','css!./room-column.css','./room-row',
], function(app, _, template) {

  app.directive("roomColumn", [
    function() {
      return {
        restrict: 'E',
        template: template,
        replace: true,
        transclude: true,
        scope: {
          'venue': '=',
        },
        controller: function($scope,scheduleService) {

            init();

            //============================================================
            //
            //============================================================
            function init() {
                $scope.rooms=[];
                initRooms();
            } //init

            //============================================================
            //
            //============================================================
            function initRooms() {

                scheduleService.getRooms()
                .then(function(res){
                  $scope.rooms=res;
                });
            } //initRooms

          } //controller
      }; //return
    }
  ]);
});<commit_msg>change height based on view<commit_after>define(['app', 'lodash', 'text!./room-column.html','css!./room-column.css','./room-row',
], function(app, _, template) {

  app.directive("roomColumn", [
    function() {
      return {
        restrict: 'E',
        template: template,
        replace: true,
        transclude: true,
        scope: {
          'venue': '=',
        },
        controller: function($scope,$element,$document,scheduleService) {

            init();

            //============================================================
            //
            //============================================================
            function init() {
                $scope.rooms=[];

                initRooms();

            } //init

            //============================================================
            //
            //============================================================
            function initRooms() {

                scheduleService.getRooms()
                .then(function(res){
                  $scope.rooms=res;
                  $scope.rowHeight=scheduleService.getHeadersHeight();
                });
            } //initRooms

          } //controller
      }; //return
    }
  ]);
});
{'fraction_non_alphanumeric': 0.3239966555183946, 'fraction_numerical': 0.0, 'mean_word_length': 1.6887640449438202, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7471598', 'n_tokens_mistral': 553, 'n_tokens_neox': 513, 'n_words': 73}