Hi,
Can you please open developer toolbar(press F12) and see what error message
you get in console. Probably angular.min.js is not loaded or some error is
there. See the error message and paste it here if not able to resolve.
Thanks,
Manu
On Saturday, June 21, 2014 2:39:26 AM UTC+5:30, Parthiban Kumar wrote:
>
> Hello Guys,
> I am new to Angularjs, trying out few examples. Got stuck right in the
> basic one.
>
> I wrote a simple html with angular directives in it. attached code below.
>
> <!DOCTYPE html>
> <html ng-app="store">
> <head>
> <title>Example</title>
> <style rel="stylesheet" type="text/css"
> href="css/bootstrap.min.css"></style>
> <script type="text/javascript" src="angular.min.js"> </script>
> <script type="text/javascript" src="app.js"> </script>
> </head>
> <body>
> <p>Hello I am {{4+6}}</p>
> </body>
> </html>
>
> When I open this html file directly in the browser, it works. I see "Hello
> I am 10"
> whereas if I copy this html in to my web application and access it through
> url, its not working.
>
> http://lt4110:8080/expert3/angular/test.html -- I see "Hello I am {{4+6}}
>
> Here is my environment
>
> IE 9 (tried in IE 8 first)
> Jboss eap6 server
> angular-1.2.18
>
> any idea guys?
>
> Thanks,
> Parthiban
>
--
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.