remove dependencies to Angularjs