remove ng dependencies from logic
Merge pull request #5 from hxtpoe/refactor

remove ng dependencies from logic