Skip to content

Commit 9517cde

Browse files
committed
Update demo to 1.3.1
1 parent b66cf60 commit 9517cde

File tree

6 files changed

+18
-3
lines changed

6 files changed

+18
-3
lines changed

demo/assets/angular-async-loader/angular-async-loader.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/assets/ng-file-upload/dist/ng-file-upload-all.min.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/bootstrap.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ require.config({
55
'angular-ui-router': 'assets/angular-ui-router/release/angular-ui-router.min',
66
'angular-async-loader': 'assets/angular-async-loader/angular-async-loader.min',
77
'angular-ui-mask': 'assets/angular-ui-mask/dist/mask.min',
8-
'ng-tags-input': 'assets/ng-tags-input/build/ng-tags-input.min'
8+
'ng-tags-input': 'assets/ng-tags-input/build/ng-tags-input.min',
9+
'ng-file-upload': 'assets/ng-file-upload/dist/ng-file-upload-all.min'
910
},
1011
shim: {
1112
'angular': {exports: 'angular'},

demo/components/components.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ <h2>Load 'ngTagsInput' module</h2>
2828
</div>
2929
</script>
3030

31+
<h2>Load 'ngFileUpload' module</h2>
32+
<button ngf-select ng-model="file" ngf-max-size="5MB" ngf-min-height="100">
33+
Select Upload File
34+
</button>
35+

demo/components/componentsCtrl.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ define(function (require) {
99
require('ng-tags-input');
1010
app.useModule('ngTagsInput');
1111

12+
// dynamic load ng-file-upload plugins for UI
13+
require('ng-file-upload');
14+
app.useModule('ngFileUpload');
15+
1216
app.controller('componentsCtrl', ['$scope', function ($scope) {
1317
$scope.name = 'UI Components';
1418

demo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
"version": "1.0.0",
44
"dependencies": {
55
"angular": "^1.4.7",
6-
"angular-async-loader": "file:..",
6+
"angular-async-loader": "^1.3.0",
77
"angular-ui-mask": "^1.8.4",
88
"angular-ui-router": "^0.2.15",
9+
"ng-file-upload": "^12.0.4",
910
"ng-tags-input": "^3.0.0",
1011
"requirejs": "^2.1.20"
1112
}

0 commit comments

Comments
 (0)