summaryrefslogtreecommitdiff
path: root/www/lib/angular-tooltips/assets/js/index.js
blob: d0809df3680ac6ea3702ee8061d22c2ff86c0971 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*global angular*/

(function withAngular(angular) {
  'use strict';

  angular.module('720kb', [
    'ngRoute',
    '720kb.tooltips'
  ])
  .controller('Ctrl', [
    '$scope',
    '$timeout',
    function ($scope, $timeout) {

    $scope.items = ['1','2','4','5'];
    $timeout(function () {
      $scope.items.push('7');
        $scope.items.push('9');
    }, 5000);
  }]);
}(angular));