angular-symfony-form
Form components for Angular Js, symfony2 form validations.
For usage and examples go to app directory
Installation
Install with bower:
$ bower install angular-symfony-form --save
Install with npm:
$ npm install angular-symfony-form
Load the vSymfonyForm
module in your app.
angular;
Usage Example
In case of see registration form
user field
validation:
Add to your controller properties:
{ 'use strict'; angular ; AppController$inject = ; { var vm = this; vmusername = null; vmerrors = null; vmsymfonyForm = 'fos_user_registration_form'; vmregister = register; { //registered } } };
Setup form fields validation:
Username: Sign Up