refactors angular scaffolding