reanemd angular controllers to follow better convention
changed script to script. in jade template
fixed logging formatting