javascript - Basic Angular.js include from tutorial doesn't work -



javascript - Basic Angular.js include from tutorial doesn't work -

this reference basic codeschool tutorial angular.js. went through , finished it, thinking ready seek out in real project. when utilize exact same code given in tutorial, angular fails load, producing error:

uncaught error: [$injector:modulerr] http://errors.angularjs.org/1.2.18/$injector/modulerr?p0=store&p1=error%3a%…users%2fjosh%2fdocuments%2fprojects%2ftimelist%2fangular.min.js%3a18%3a139)

here index.html code:

<!doctype html> <html ng-app="store"> <head> <link rel="stylesheet" type="text/css" href="bootstrap.min.css" /> </head> <body> <script type="text/javascript" src="angular.min.js"></script> </body> </html>

and app.js code:

var app = angular.module('store', [ ]);

is wrong way set basic angular project, though codeschool teaching in tutorial? direction good, because think issue in setup, not code. give thanks you!

have included app.js file html file

<script type="text/javascript" src="app.js"></script>

please include line. hope help!

javascript angularjs

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -