refactoring-angular: implementing new specs