before refactoring with styleguide and ng-annotate