AngularJS: "Error: Unexpected call to method or property access.undefined" only in IE 8
The problem is that IE8 does not recognize "custom" elements.
Use "replace:true" in your directives declaration that are in element form (restrict: 'E') and use IE shiv (I used angular-ui's IE shiv and declared my custom tags there).
See more on the links below:https://github.com/angular/angular.js/issues/1933http://angular-ui.github.com/#ieshiv
If you are using jQuery the problem can be solved by modifying the jQuery file.Add your custom elements to the list of "nodeNames":
var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video|accordion|accordion-group|accordion-heading",
More information ca be found on http://blog-it.hypoport.de/2013/08/24/how-to-make-your-angularjs-app-work-in-ie-8/