Here is my simple hello world type code ... Dont know why this code is not working .
index.html :<!DOCTYPE html>
<html ng-app="book">
<head>
<script type=”text/javascript” src="angular.js"></script>
<script type=”text/javascript” src="book.js"></script>
</head>
<body>
<div ng-controller="MainCtrl">
<span>hello: {{world}}</span>
</div>
</body>
</html>
book.js:
angular.module('book', []);
var MainCtrl = function($scope) {
$scope.world = 'world';
};
when I open index.html file in my browser it shows : hello: {{world}}
I am using angularjs version 1.2.16 , and all of those files in same folder .