Refactoring of Anguler classes providing a more simple interface.