remove ng dependencies from logic