Added state check, confirmkeys attribute, and placeholder attribute to angular.