angularjs - Attribute ng-view not allowed on element div at this point -


i've been receiving error using validator.w3.org html5

"attribute ng-view not allowed on element div @ point"

how can solve problem passing ng-view through div ?

<div ng-view></div> 

it specified somewhere on angularjs site if want valid html should place data- before every ng-something. you

<div data-ng-view></div> 

will make example valid.

hope helps. +1 answer


Comments