text: angular.module('example', ['sysen.toolbelt', 'ui.bootstrap', 'ngTouch'])
      .config(function($detectPlatformProvider) {
          $detectPlatformProvider.allowBrowser("Chrome").allowBrowser("Firefox", "30").allowBrowser("Safari", "7.0").allowBrowser("MSIE", "11");
      })
  
      .controller('documentationCtrl', ['$scope', function($scope) {
          $scope.curly = function(string) {
              return '{{ ' + string + ' }}';
          }
      }])
  
      .controller('FileInputCtrl', [function() {
          var self = this;
          this.reset = function() {
              self.example = [];
          }
      }])
  
      .controller('PrettyDateCtrl', [function () {
          d = new Date();
  
          d.setHours(d.getHours() - 4);
          this.dateHours = d.getTime();
  
          d.setHours(d.getHours() - 48);
          this.dateDays = d.getTime();
  
          d.setDate(d.getDate() - 21);
          this.dateWeeks = d.getTime();
      }])
  
      .controller('growlCtrl', ['$scope', function ($scope) {
          $scope.growl = { type: 'info' };
          $scope.addGrowl = function (growl) {
              $scope.$emit('_addGrowl', { type: growl.type, title: 'Example Growl', content: growl.message })
          }
      }])
  
      .controller('infiniteScrollCtrl', ['$scope', '$location', function ($scope) {
          $scope.infiniteList = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
          $scope.$on('_infiniteScroll', function (evt, message) {
              if (message.toString() === 'DATA_LOAD') {
                  var listLength = $scope.infiniteList.length;
                  if (listLength > 99) {
                      $scope.$emit('_infiniteScroll', 'STOP');
                  } else {
                      for (var i = $scope.infiniteList.length; i < listLength + 10; i++) {
                          $scope.infiniteList.push(i);
                      }
                  }
                  $scope.$emit('_infiniteScroll', 'CONTINUE');
                  $scope.$apply();
              }
          });
          $scope.resetData = function () {
              $scope.infiniteList = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
              $scope.$emit('_infiniteScroll', 'START');
          }
      }])
  
      .controller('markdownCtrl', ['$scope', function($scope) {
          $scope.markdown = "### Hello World\n\n**Welcome to [markdown](https://daringfireball.net/projects/markdown/)**\n\nPlease edit the text in the input to try out the various markdown tags *live*";
      }])
  
      .controller('platformCtrl', ['$scope', '$detectPlatform', function($scope, $detectPlatform) {
          angular.extend($scope, $detectPlatform);
      }])
  
      .controller('scrollCtrl', ['$scope', '$location', function ($scope, $location) {
          if ($location.path()) {
              $scope.$emit('_pageScroll', $location.path().substring(1), 70);
          }
      }])
  
      .controller('strengthCtrl', ['$scope', function ($scope) {
          $scope.reset = function () {
              $scope.passwordStrengthForm.$setPristine();
              $scope.password = "";
          }
      }]);
  