marcorinck / ngStart

skeleton project for new angular.js projects
MIT License
195 stars 29 forks source link

production deployment error #28

Closed TrangNguyen closed 10 years ago

TrangNguyen commented 10 years ago

Hi, could you please give more information on production deployment please. While the app works very well on localhost, I've uploaded the target folder (generated by grunt install) to a ftp server. However it doesn't work. One can see the navbar but no content. Chrome: Uncaught object Uncaught TypeError: undefined is not a function Firefox and Safari: Error: [$injector:modulerr] http://errors.angularjs.org/undefined/$injector/modulerr? And wouldn't it make sense to link scripts such as angular.min.js from google cdn instead of concat it in production? screen shot 2014-07-09 at 18 43 25

Obviously I'm doing something wrong. Tips, advice and help very much appreciated. Trang

marcorinck commented 10 years ago

There were (at least) 2 problems with production deployment version:

I will push a fix in a few minutes.