I get a error message in IE11 but not in chrome the error is:
Script1002 Syntax error
My code is as follows
IE not supported arrow function check browser compatibility here. If you want IE support then use the normal function instead.
var selectedRoles = vm.roles.filter(function(x) { return x.id === role.id });