Skip to content

Commit 6a8b1ea

Browse files
committed
Release 2.0 - updating readme
1 parent 172ffdd commit 6a8b1ea

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ For full documentation and help getting started visit [http://angularforms.org](
99
Latest stable release: v2.0.0
1010

1111
Devel Branch WIP
12-
================
12+
----------------
1313
* Adding unit tests
1414

1515
Requirements
16-
============
16+
------------
1717

1818
* [AngularJS 1.2.6+](http://www.angularjs.org)
1919
* [Twitter Bootstrap 3.0.3+](http://www.getbootstrap.com)
@@ -24,7 +24,7 @@ Requirements
2424
Note that Angular-forms.js is being developed with the latest stable versions of any required packages. It is quite possible that earlier version will work just fine.
2525

2626
Installation
27-
============
27+
------------
2828

2929
The recommended way to add the required items and angular-forms.js to your project is to use [bower](http://www.bower.io).
3030

@@ -40,14 +40,13 @@ Add the follwing stylesheets and scripts to your app:
4040
<script src="/bower_components/angular/angular.min.js"></script>
4141
<script src="/bower_components/angular-forms.js/angular-forms.min.js"></script>
4242

43-
Notes
44-
-----
43+
###Notes
4544
* the above assume bower installation and with packages installed in bower_components
4645
* jQueryUI is only required when using the spinner control
4746

4847

4948
Sample Application
50-
==================
49+
------------------
5150

5251
A sample application is included to provide a getting started example as well as aid in development. To use the sampe app, clone the angular-forms.js repo, install dependencies, and run the included web server. The following assumes the repo will be clones into ~/projects:
5352

@@ -64,16 +63,15 @@ Start the web server:
6463
Point your browser to: http://localhost:8000/app/index.html
6564

6665
Contributing
67-
============
66+
------------
6867

6968
At the moment there are no tests. They will be added shortly. In the meantime, install the sample app, as detailed above, and add new features or changes to the sample app and demonstrate that things are working as expected. Lint and minify the javascript using [Grunt](http://gruntjs.com)
7069

7170

7271
Release Notes
73-
=============
72+
-------------
7473

75-
2.0.0
76-
-----
74+
####2.0.0
7775
* Fixed hide/show fields and form validation. When fields are hidden using the ng-hide direcitve, they will now be removed from the angular form controller. When fields are shown using ng-show, they will be added to the angular form controller. Previously fields were not automatically added and removed from the controller, and this often caused the form to be in an invalid state due to errors on a hidden field. The user could not fix the problem, and the save button would be disabled.
7876
* Added a clearError() method to clear errors on a single field.
7977
* Code cleanup: removed afEmpty factory

0 commit comments

Comments
 (0)