Travis Tidwell edited this page Jan 13, 2017 · 14 revisions

ngFormioHelper Docs

This is an Angular 1 library that serves as a helper library to make it easier to build Form based applications using the platform. This includes anything from Authentication management, Resource Management, Form Building and Form Management. This library contains 4 major providers, which are as follows.

  • FormioResource - Handles resource management within your application, including all CRUD operations and UI Router states.
  • FormioAuth - This handles the authentication within your application as well as registers some UI Router states to handle authentication.
  • FormioForms - Handles form and submission management and allows you to attach Forms to existing resources.
  • FormioFormBuilder - Allows form building, form management, and submission management within your application.


Any application using this helper library will need to make sure you install the ngFormio Renderer library.

Bower installation

bower install --save ng-formio

NPM installation

npm install --save ng-formio

And then include that as a module within your Angular 1 application.

angular.module('myApp', ['formio'])


This is a library meant for Angular 1 applications which leverage UI Router for routing. We recommend reading up on the documentation for UI Router to get a very good sense for the providers provided by this helper library. To install this library you will use the following within your application.

Bower installation

bower install --save ng-formio-helper

NPM installation

npm install --save ng-formio-helper

Once this library is installed, you will then need to include it within your application as a module as follows.

angular.module('myApp', ['formio', 'ngFormioHelper'])

If you are using the FormioFormBuilder provider, then you will also need to include that module as...

angular.module('myApp', ['formio', 'ngFormioHelper', 'ngFormBuilderHelper'])


Before you can use this library, you will need to ensure that your application has established the appUrl and the apiUrl of your application, the appUrl is the Project API url for your application. For example, if your application is @, this is is represented as your appUrl. The apiUrl will almost always be, unless you are pointing to a different server via our Docker deployments. The following API's are provided to configure these settings.


Name Type Description
url String The api url to your deployment. Almost will always be unless you are docker deployed.


Name Type Description
url String The api url to your project.


angular.module('myApp', [
.constant('AppConfig', {
  appUrl: ',
  apiUrl: '',
  ) {
    // Only use "#" for the states.

    // Set the appUrl and the apiUrl

You are now ready to configure your Resources.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.