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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -