Hauteur d'élément dans une AngularJS directive

J'essaye de prendre de la hauteur des éléments en une simple application AngularJS.
Voir ci-dessous. Ce que je fais mal? La hauteur doit être différent que l'habillage lignes, mais je reçois 20 rapporté à moi, peu importe ce que je entrée dans les "étiquettes" array.

Le code suivant peut être exécutée ici, sinon voir ci-dessous.
http://js.do/code/49177

<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <base href="/">

  <title>height of element in angularjs</title>

  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">

  <script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.8/angular.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.8/angular-route.js"></script>
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

  <script type="text/javascript">
    'use strict';

    var app = angular.module('heightApp', ['ngRoute', 'routing']);

    app.controller('heightCtrl', ['$scope', function ($scope) {
      $scope.labels = [
        'Hi there, I\'m a div.',
        'Me too, I\'m also a div.',
        'Can you see me, because I certainly can\'t see myself. I don\'t even know my own height. Isn\'t that just crazy?'
      ];

    }]);    

    angular.module('routing', []).config(['$routeProvider', function($routeProvider) {
      $routeProvider
        .when('/', {
          templateUrl: 'height.html',
          controller: 'heightCtrl'
        });
    }]);

    angular.module('heightApp').directive('reportMyHeight', function() {
      return function (scope, el, attrs) {
          alert('offsetHeight = ' + el[0].offsetHeight);
        }
    })
  </script>

</head>

<body ng-app="heightApp">

<div class="container">
  <div ng-view></div>
</div>

</body>

<script type="text/ng-template" id="height.html">
  <div class="row">
    <div class="col-sm-4" report-my-height ng-repeat="lbl in labels">
      {{ ::lbl }}
    </div>
  </div>
</script>

</html>

OriginalL'auteur Charles Sounder | 2015-01-12