implemented code style https://github.com/toddmotto/angularjs-styleguide#modules