We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
file-model
1 parent d9f4819 commit 359b17cCopy full SHA for 359b17c
README.md
@@ -17,13 +17,13 @@ Add to your HTML files:
17
18
Now, inject to your application:
19
20
- angular.module('myApp', ['angular-file-model']);
+ angular.module('myApp', ['file-model']);
21
22
Ready to use in your controllers!:
23
24
`file.html`:
25
26
- <input type='file' file-upload='fileModel'>
+ <input type='file' file-model='fileModel'>
27
<button type='button' ng-click='upload()'>Upload</button>
28
29
`controller.js:`
angular-file-model.js
@@ -8,7 +8,7 @@
8
(function () {
9
'use strict';
10
11
- angular.module('angular-file-model', [])
+ angular.module('file-model', [])
12
13
.directive('fileModel', [
14
'$parse',
0 commit comments