angularsJS review && test