I have begun to learn angular js for some time and so far I have used 2 types of prefixes. They are the ng-
and data-ng
. But when I go through angular library I found this array.
var ngAttrPrefixes = ['ng-', 'data-ng-', 'ng:', 'x-ng-'];
So is this mean there are 4 types of prefixes available in angular. So what are the differences of each other. What are the situations that need to decide which prefix need to choose.