style(everything): use parentheses next to a function name and a space before braces

Request Type: chore

How to reproduce: 

Component(s): 

Impact: small

Complexity: small

This issue is related to: 

**Detailed Description:**

AngularJS style guide and Google JavaScript style guide uses `function() {` and `function name() {`, not `function (){` and `function name(){` style.

[AngularJS style guide](https://google-styleguide.googlecode.com/svn/trunk/angularjs-google-style.html)

[Google JavaScript style guide](http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml)

**Other Comments:**

This might be too trivial for a commit or too big for one pull request, I just thought about it reading through AngularJS sources for the first time and looking at "Contributing to AngularJS" document.