refactoring initial template do make it compliant with the guidelines found in https://github.com/ywallet/angularjs-styleguide