Updated to latest angularJS