angular-masonry icon indicating copy to clipboard operation
angular-masonry copied to clipboard

When I use angular-ui-router , this question occurs

Open LuciferZhang opened this issue 8 years ago • 4 comments

First,the error is Error: [$compile:ctreq] Controller 'masonry', required by directive 'masonryBrick', can't be found!

When and Where: I am using angular-ui-router to develop a web,when i jump page from pageA to pageB, the error occurs(i use masonry and masonry-brick in pageA),and then i dubug the js code.I guess the question is that when i jump pages, the angular $digest scan the pageA and the error occurs.

Is anyone else has the same question?

LuciferZhang avatar Oct 28 '15 06:10 LuciferZhang

Hi @LuciferZhang,

I had the same issue with ui-router. Not sure this can help, but check that the masonry directive is not present in both pageA and its own parent template view.

danieleguido avatar Nov 02 '15 15:11 danieleguido

same problem. some gotcha?

longgeek avatar Dec 18 '15 15:12 longgeek

Possibly https://github.com/angular-ui-tree/angular-ui-tree/issues/19?

bluesliverx avatar Jan 26 '16 17:01 bluesliverx

Got this issue on angular 1.5 and ui-router 0.3.0

nvurgaft avatar Jul 20 '16 09:07 nvurgaft