remove jquery, replace jquery utility functions with angular ones