banana icon indicating copy to clipboard operation
banana copied to clipboard

Attempting to create a new controller

Open rdubreui opened this issue 10 years ago • 2 comments

Hi,

I try to create a new controller for Banana, and to put it in the app/controllers folder. But after create it and apply the same structure as others controllers (dashLoader in fact), declare it in my HTML and ng-controller my controller, Firebug say to me : "define is not defined". But I have just do everything the other controllers got ! I have even declared it in the app/controllers/all.js !

Do you know why this is going on ?

rdubreui avatar Sep 11 '15 10:09 rdubreui

If you are still working on this; please post a code snippet.

nickvasilyev avatar Nov 16 '15 12:11 nickvasilyev

Thanks, but I decided to use this method https://github.com/LucidWorks/banana/issues/246.

rdubreui avatar Nov 16 '15 13:11 rdubreui