Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit 951e691

Browse files
committed
updated readme with new installation instructions for default template sets
1 parent 99f2faf commit 951e691

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Formly for Angular is an AngularJS module which has directives to help customize
99
## Dependencies
1010
- Required to use Formly:
1111
- Angular
12-
- Twitter Bootstrap (Default templates use TBS, you can create use your own templates with [`formlyTemplateProvider`](#global-config))
1312

1413
- Dev dependencies to build Formly
1514
- npm
@@ -21,8 +20,12 @@ See `bower.json` and `index.html` in the `master` branch for a full list / more
2120
1. Install with Bower
2221
`$ bower install angular-formly`
2322

24-
2. Include the files in your index.html
23+
2. Include the javascript file in your index.html, Formly comes in the following flavors:
24+
- Vanilla: no fancy styling, just plain html
2525
`<script src="bower_components/angular-formly/dist/formly.min.js"></script>`
26+
-Bootstrap: bootstrap compatible forms, form-groups, etc.
27+
`<script src="bower_components/angular-formly/dist/formly.bootstrap.min.js"></script>`
28+
- DIY: You can create your own templates with formlyTemplateProvider! Use any of the builds above and override all the templates or just the ones you need.
2629

2730
3. Add 'formly' as a required module to your angular app, usually in `app.js`:
2831
`var app = angular.module('app', ['ng', 'ui.router', 'formly']);`

0 commit comments

Comments
 (0)