Refactoring

Use of $q in translate service, debug in chart