changed attributes for angularjs style to prevent request errors