diff options
Diffstat (limited to 'www/lib/angular-tooltips/assets')
| -rw-r--r-- | www/lib/angular-tooltips/assets/js/index.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www/lib/angular-tooltips/assets/js/index.js b/www/lib/angular-tooltips/assets/js/index.js new file mode 100644 index 00000000..d0809df3 --- /dev/null +++ b/www/lib/angular-tooltips/assets/js/index.js @@ -0,0 +1,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)); |
