When should you use an attribute versus an element? Technology Community › Category: AngularJS › When should you use an attribute versus an element? 0 Vote Up Vote Down VietMX Staff asked 4 years ago Use an element when you are creating a component that is in control of the template. Use an attribute when you are decorating an existing element with new functionality.