angular JS update
fix equality test operator
maybe we should use jslint or comparable to prevent this ?