summaryrefslogtreecommitdiff
path: root/www/lib/angular-tooltips/assets/js/index.js
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-07-24 15:48:01 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-07-24 15:48:01 -0400
commit83400033a3b7a91ad072a5d306355c9cd5a80d82 (patch)
treeb84d23a607523249554dc97ed26f000ca03d0abd /www/lib/angular-tooltips/assets/js/index.js
parent89640e9b0212a2525ea132b1d11bb8962f5444dd (diff)
integrated event scrubbing with direct image access - need to clean up code
Diffstat (limited to 'www/lib/angular-tooltips/assets/js/index.js')
-rw-r--r--www/lib/angular-tooltips/assets/js/index.js21
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));