President says, anger justified but violence no solution