Your form API is now ready to use! The following API was created that maps directly to this form interface.
This API can be found by going to the following URL.
{{ appUrl }}/{{ form.path }}
To add this form to your Application, use Bower to download the Form.IO library and its dependencies.
bower install formio
Next, ensure your webpage has all of the Project dependencies added to the <script> tag. For a simple example, refer to the following example.
We recommend using a tool called Wiredep to automatically add all the dependencies to the <script> section.
Then you need to add formio as a dependency to your application's Angular module
<body ng-app="formApp">
...
<script type="text/javascript">
angular.module('formApp', ['formio']);
</script>
Now, within your HTML source, you can use the <formio>
directive like so.
<formio src="'{{ appUrl }}/{{ form.path }}'"></formio>