fixed the major issue but angular still not agreeign with my code