Error on second display of modal, 'Error: [$compile:ctreq] Controller 'uiGrid', required by directive 'uiGridHeaderCell'
#4,421 创建于 2015年9月23日
描述
I am getting the 'Error: [$compile:ctreq] Controller 'uiGrid', required by directive 'uiGridHeaderCell', can't be found!' error when trying to implement a custom filter modal. The same error is reproducable in the custom filter tutorial (http://ui-grid.info/docs/#/tutorial/306_custom_filters). Both errors appear only upon the second load of the modal and don't seem to cause any functionality problems but it would be great to have a way to get rid of them. To reproduce it in the Grid UI custom filter tutorial click on the '...' on the Age header then click filter to close it, then click on '...' again. On the second time the error below will appear.
Produced by my custom filter modal:

Prouded by the custom filter modal in the Grid UI tutorial (). The error will display on the second time.
