mankindsoftware / angular-isotope

AngularJS directives to easily work with JQuery Isotope.
http://mankindsoftware.github.io/angular-isotope
204 stars 79 forks source link

Error on isotope-container nested views #40

Closed thisispaul closed 1 year ago

thisispaul commented 9 years ago

Controller 'isotopeContainer', required by directive 'isotopeItem', can't be found!

I get this error in this specific circumstance. If I have a view like this:

<div ui-view>
        <div isotope-container>
            <div ng-repeat="x in xList" isotope-item>
                ...
            </div>
        </div>
</div>

This first view works.

However when the route changes and a new view is loaded inside the ui-view (the new view is another isotope-container with isotope-items) I get the above error.

thisispaul commented 9 years ago

I just noticed, the isotope is actually working on the new elements.

But the error is still being thrown.