### Angular controller

# CRUDListFormCtrl source

  CRUDListFormCtrl is the main controller for crud module Based on the client_cmd parameter it generates its scope items. client_cmd can be in ['show', 'list', 'form', 'reload', 'refresh'] There are 3 directives to manipulate controllers scope objects in crud.html
  The controller works in 2 ways, with and without pageData. pageData is generated by formService.Generator and it contains data to manipulate page. If pageData has set, using Generator's getPageData() function, sets its scope items. After getting pageData pageData must be set to `{pageData: false}` for clear scope of next job.
  If pageData has not set using Generator's get_wf() function gets scope items from api call.