angularjs jasmine test -  ie hack