@@ -8,7 +8,6 @@ import validator from './services/validator';
8
8
import errors from './services/errors' ;
9
9
import sfPath from './services/sfPath' ;
10
10
11
-
12
11
import array from './directives/array' ;
13
12
import changed from './directives/changed' ;
14
13
import field from './directives/field' ;
@@ -42,21 +41,21 @@ try {
42
41
angular . module ( 'schemaForm' , deps )
43
42
// Providers and services
44
43
. provider ( 'sfPath' , sfPath )
45
- . provider ( 'sfBuilder' , [ 'sfPathProvider' , sfBuilder ] )
46
- . provider ( 'schemaFormDecorators' , [ '$compileProvider' , 'sfPathProvider' , decorators ] )
44
+ . provider ( 'sfBuilder' , [ 'sfPathProvider' , sfBuilder ] )
45
+ . provider ( 'schemaFormDecorators' , [ '$compileProvider' , 'sfPathProvider' , decorators ] )
47
46
. provider ( 'sfErrorMessage' , errors )
48
- . provider ( 'schemaForm' , [ 'sfPathProvider' , schemaForm ] )
49
- . factory ( 'sfSelect' , ( ) => select )
47
+ . provider ( 'schemaForm' , [ 'sfPathProvider' , schemaForm ] )
48
+ . factory ( 'sfSelect' , ( ) => select )
50
49
. factory ( 'sfValidator' , validator )
51
50
52
51
// Directives
53
- . directive ( 'sfArray' , [ 'sfSelect' , 'schemaForm' , 'sfValidator' , 'sfPath' , array ] )
52
+ . directive ( 'sfArray' , [ 'sfSelect' , 'schemaForm' , 'sfValidator' , 'sfPath' , array ] )
54
53
. directive ( 'sfChanged' , changed )
55
- . directive ( 'sfField' , [ '$parse' , '$compile' , '$http' , '$templateCache' , '$interpolate' , '$q' ,
56
- 'sfErrorMessage' , 'sfPath' , 'sfSelect' , field ] )
57
- . directive ( 'sfMessage' , [ '$injector' , 'sfErrorMessage' , message ] )
58
- . directive ( 'sfNewArray' , [ 'sfSelect' , 'sfPath' , 'schemaForm' , newArray ] )
59
- . directive ( 'sfSchema' , [ '$compile' , '$http' , '$templateCache' , '$q' , 'schemaForm' ,
54
+ . directive ( 'sfField' , [ '$parse' , '$compile' , '$http' , '$templateCache' , '$interpolate' , '$q' ,
55
+ 'sfErrorMessage' , 'sfPath' , 'sfSelect' , field ] )
56
+ . directive ( 'sfMessage' , [ '$injector' , 'sfErrorMessage' , message ] )
57
+ . directive ( 'sfNewArray' , [ 'sfSelect' , 'sfPath' , 'schemaForm' , newArray ] )
58
+ . directive ( 'sfSchema' , [ '$compile' , '$http' , '$templateCache' , '$q' , 'schemaForm' ,
60
59
'schemaFormDecorators' , 'sfSelect' , 'sfPath' , 'sfBuilder' ,
61
- schemaFormDirective ] )
62
- . directive ( 'schemaValidate' , [ 'sfValidator' , '$parse' , 'sfSelect' , schemaValidate ] ) ;
60
+ schemaFormDirective ] )
61
+ . directive ( 'schemaValidate' , [ 'sfValidator' , '$parse' , 'sfSelect' , schemaValidate ] ) ;
0 commit comments