removed local dependencies and porting over to pure angular