Our team implemented a twitter bootstrap carousel for our front page. Everything's working fine for Chrome and Firefox. However when we tested it in IE 8, the carousel images were broken and the error thrown in the IE console was
Controller 'carousel', required by directive 'ngTransclude', can't be found
Here's the code (in haml) for our carousel:
%carousel.featuredTags{'ff-destroy-carousel' => 'true', 'interval' => "5000"}
%slide
%img{:src => "#{$assetsPath}/img/pic-bora.png", :alt => ""}
.dimmer
.caption Boracay beach, Aklan
%slide
%img{:src => "#{$assetsPath}/img/pic-bora.png", :alt => ""}
.dimmer
.caption Boracay beach, Aklan
%slide
%img{:src => "#{$assetsPath}/img/pic-bora.png", :alt => ""}
.dimmer
.caption Boracay beach, Aklan
%slide
%img{:src => "#{$assetsPath}/img/pic-bora.png", :alt => ""}
.dimmer
.caption Boracay beach, Aklan
Our first approach was to destroy the carousel (hence, the ff-destory-carousel
directive) if the browser is IE 8 and utilized bowser.js for browser checking. But still the script error still pops up.
Any thoughts on why this kind of error is still happening in IE 8 and if their are possible workarounds for this?