What is AppML Controller?

AppML application allows to control the UI using the controller function. appml-controller tag provides the name of the javascript function which acts as a controller. AppML application may or may not have a controller.

Syntax :
<table appml-controller="studentController"></table>​

AppML sends messages to controller function via an application object denoted by $appml. Based on the properties of $appml we can perform various types of operations on HTML content.

Following are some of the important examples :

* Initialize data

* Update application data

* Input/output handling

* Data validation

* Data summarization

* Error handling

* Application start/stop