btford/angular-express-blog

Code not working in Internet Explorer - (IE is disgusting I know!)

mescalito opened this issue · 0 comments

Hi There! and thanks for taking the time!
I am really fresh in angulaJS therefore I couldn't find a solution for these bugs. There are two bugs, I was able to find the solution for the first one but not for the second

First try to run the seed in IE (mine is IE8) and you will get this:

The problem are the quotes in public/js/controllers.js (there aren't)

  • BUG: controller: IndexCtrl
  • SOLUTION: controller: 'IndexCtrl'
    In summary just add simple quotes to wrap your controllers declarations

Unfortunately that is not the end, after fixing that you got another extrange error and I have no idea about this one :(, look:

  • I don't understand why I get "There are {{'posts.length'}} posts" explicitly :(
    image: http://d.pr/i/yO4b

Any idea????

Also you blog post has the same problems/errors: http://briantford.com/blog/angular-express.html, but that doesn't change the fact that is really useful.

The world could be better without Internet Explorer IE, I know! but no matter what I have to deliver professionally to all browsers :S

Thanks!