diff --git a/misc/demo/assets/app.js b/misc/demo/assets/app.js index 52288bc462..4be03ba5b6 100644 --- a/misc/demo/assets/app.js +++ b/misc/demo/assets/app.js @@ -1,4 +1,4 @@ -angular.module('bootstrapDemoApp', ['ui.bootstrap', 'plunker'], function($httpProvider){ +angular.module('bootstrapDemoApp', ['ui.bootstrap', 'plunker', 'ngTouch'], function($httpProvider){ FastClick.attach(document.body); delete $httpProvider.defaults.headers.common['X-Requested-With']; }); @@ -19,7 +19,7 @@ function MainCtrl($scope, $http, $document, $modal, orderByFilter) { } }); }; - + $scope.showDownloadModal = function() { var modalInstance = $modal.open({ templateUrl: 'downloadModal.html', @@ -62,7 +62,7 @@ var DownloadCtrl = function($scope, $modalInstance) { minified: true, tpls: true }; - + $scope.download = function (version) { var options = $scope.options; @@ -78,8 +78,8 @@ var DownloadCtrl = function($scope, $modalInstance) { return downloadUrl.join(''); }; - + $scope.cancel = function () { $modalInstance.dismiss(); }; -} \ No newline at end of file +} diff --git a/misc/demo/index.html b/misc/demo/index.html index eff9542b39..a131e28b9c 100644 --- a/misc/demo/index.html +++ b/misc/demo/index.html @@ -10,6 +10,7 @@ + @@ -208,7 +209,7 @@