Question: what is the difference between ng and data-ng?
Answer: You can use data-ng-, instead of ng-, if you want to make your page HTML valid. Absolutely there is no difference between the two, except that certain HTML5 validators will throw an error on a property like ng-app, but they don't throw an error for anything prefixed with data-, like data-ng-app.