updated to latest angularjs lib along with fixes to issues caused by upgrade.