I have a angular controller I have
@MyAngular = ($scope) ->
$scope.my = [...]
@MyAngular.$inject = ["$scope"]
I get this message error : Argument 'MyAngular' is not a function, got undefined
. In my view, I have %div{"ng-controller" => "MyAngular"}
I found some SO posts and but nothing did the trick
%div{"ng-controller" => "MyAngular"}
?haml
syntax, but this is not the problem ;)<div ng-controller="MyAngular">