Yoeman angular 2 : Uncaught ReferenceError: angular is not defined and page loads without style -
im using angular yoeman.
and scaffolded angular 2 application using 'yo angular' command.
1) everytime scafold angular , why index.html inside app folder , need manually move index.html in root folder.
2) , when run cmd: npm run serve, need change path of:
href="app/styles/main.css"> in index.html
src="app/scripts/app.js"
3) when server starts, uncaught referenceerror: angular not defined in app.js file have contents as:
angular .module('myangularapp', [ 'nganimate', 'ngaria', 'ngcookies', 'ngmessages', 'ngresource', 'ngroute', 'ngsanitize', 'ngtouch' ])
Comments
Post a Comment