Hi, I am trying to figure out how to use a function from another controller, I steal my controller in the controler where I want to use its functions and then what I have to do ?
- $.controller('mycontroler1', {
- functionToUse : function(){},
- });
- $controller('wantToUseFunctionFrommycontroler1, {
- });