fix(app): fix provider CoffeeScript template

Removed array syntax.
Added an explicit return as returning the function changes how
.provider() works.