@@ -94,9 +94,7 @@ You can also just download the contents of the `dist/` folder and add dependenci
94
94
95
95
### Dependencies
96
96
97
- Schema form has a lot of dependencies, most of which are optional. Therefor
98
-
99
- Schema Form depends on:
97
+ Schema form has a lot of dependencies, most of which are optional. Schema Form depends on:
100
98
101
99
1 . [ AngularJS] ( https://angularjs.org/ ) version 1.3.x is recomended. Version 1.2.x
102
100
has some limitation. See [ known limitations] ( docs/knownlimitations.md ) .
@@ -109,6 +107,7 @@ If you install via bower you get all of the above except bootstrap since we
109
107
don't want to push a certain version or flavor on you. Also make
110
108
sure you got the angular version you actually want.
111
109
110
+
112
111
#### Additional dependecies
113
112
114
113
1 . If you want to use the date picker, you'll also need [ jQuery] ( https://github.com/jquery/jquery )
@@ -118,6 +117,24 @@ sure you got the angular version you actually want.
118
117
119
118
The minified files include templates - no need to load additional HTML files.
120
119
120
+ ### Script Loading
121
+
122
+ Schema form is split into two main files, ` dist/schema-form.min.js ` and
123
+ ` dist/boostrap-decorator.min.js ` and they need be loaded in that order. AngularJ,
124
+ [ tv4] ( https://github.com/geraintluff/tv4 ) and [ objectpath] ( https://github.com/mike-marcacci/objectpath )
125
+ also needs to be loaded * before* Schema Form.
126
+
127
+
128
+ ``` html
129
+ <script type =" text/javascript" src =" ../bower_components/angular/angular.min.js" ></script >
130
+ <script type =" text/javascript" src =" ../bower_components/angular-sanitize/angular-sanitize.min.js" ></script >
131
+ <script type =" text/javascript" src =" bower_components/tv4/tv4.js" ></script >
132
+ <script type =" text/javascript" src =" bower_components/objectpath/lib/ObjectPath.js" ></script >
133
+ <script type =" text/javascript" src =" bower_components/angular-schema-form/dist/schema-form.min.js" ></script >
134
+ <script type =" text/javascript" src =" bower_components/angular-schema-form/dist/bootstrap-decorator.min.js" ></script >
135
+ ```
136
+
137
+
121
138
Add-ons
122
139
------
123
140
There is currently only one add-on, a date picker using the excellent
0 commit comments