added additional fields as angular directive
modified api controllers for new action logic
* added domain api controller