Added formatting to Angular Controllers as template.