Skip to main content

Description

Creates a form, all inputs into the form are attached to a variable called model. Adding a platform to the form will send the request to the Platform Store API and create the model as a new result .

Usage

as element:

Directive info

  • This directive creates new scope.

Parameters

Events

contentFormPostError

When the content form is posted to the API unsuccessfully this event will be broadcasted with the error received from the API.

Type:

broadcast

Target:

root scope

contentFormPostSuccess

When the content form is posted to the API successfully this event will be broadcasted with the model sent to the API.

Type:

broadcast

Target:

root scope

Example

Source

Result

Result