What am I doing wrong here? I've read through the IE Compatibility Guide but that doesn't mention data binding using {{}} tags. This works fine on other browsers but fails in IE (including IE9).
http://jsfiddle.net/yMgQ8/1/
HTML:
<html ng-app class="ng-app">
<head></head>
<body>
<div ng-controller="Controller">
<p>{{test}}</p>
</div>
</body>
</html>
JavaScript:
function Controller($scope) {
$scope.test = "Hello world";
}
I've tried adding the steps mentioned in the compatibility guide but that doesn't seem to solve it, unless I'm missing something obvious!
It should output "Hello world", but on IE it outputs {{test}}.
Many Thanks.