some cleaning after angularjs removal