Code cleanup, and restructuring of angular controllers.
Added new field to models.publisher, fixed bug in template.