some bug fixed in the angularjs modules