Found js syntax error, angular working