refactor angular controller deletel coment lines