I tried but not worked

On Mon, Aug 4, 2014 at 2:28 PM, Prateek Jain <[email protected]
> wrote:

> use latest version of angular, it will work then.
>
>
> On Monday, 4 August 2014 12:17:13 UTC+5:30, Ashutosh Das wrote:
>>
>> 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 .
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/4F8rF6m7nIM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to