Use x- for custom angular.js tags to be HTML5 conform. Eclipse shows wrong warnings that role="" is a undefined attribute. It's valid and to get rid of the warnings we use custom html syntax warning settings.