Hi Myat, As I never used the UI router, this is a but of a guess. but it looks like you are developing from a local file-system. That is probably the root cause, use a development server to host your files on localhost. A simple solution is http-server <https://www.npmjs.com/package/http-server>, but you might want to take a look at the webpack dev server <https://webpack.js.org/guides/development/#using-webpack-dev-server>. Its harder to set up, but it has the pro to it, that it can also bundle/build your application.
There is a plethora of tools you can use for this available, the ones I mentioned are merely samples. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
