angular does not work

52 views
Skip to first unread message

Majid Lotfi

unread,
Mar 31, 2014, 10:24:51 PM3/31/14
to ang...@googlegroups.com
HI,
I am new here I just started my first example to learn angularJS from a tutorial, I saved the html and js in a folder, double clicked from the file system, it does not work, then I used node.js server, put my code inside public forlder, I only saw in the browser :


Thanks, your help is appreciated.



Tony pee

unread,
Mar 31, 2014, 11:10:07 PM3/31/14
to ang...@googlegroups.com
haha. love the title ;) I bet a few people here disagree. 

you might want to test if you are including the angular.js file correctly, and have an ng-app to kick off the bootstrap. Look at http://plnkr.co/ and start an angular project there to see a pretty basic setup


--
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 angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.



--
Tony Polinelli

Kumar R

unread,
Apr 1, 2014, 12:21:55 AM4/1/14
to angular

Sander Elias

unread,
Apr 1, 2014, 3:07:13 AM4/1/14
to ang...@googlegroups.com

Hi Majid,

It look like you didn’t load angular, or there is a severe error in your JS.
Is there something like:

  <script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js'></script>

in your index.html?

BTW, I do use Angular in loads of projects, and it does work fine ;)

Regards,
Sander

Karm

unread,
Apr 1, 2014, 2:36:40 PM4/1/14
to ang...@googlegroups.com
Thanks lot, it was an misspelling error.


--
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/lk6O9zvX4aQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages