controller not recognized - angularJS
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
No comments:
Post a Comment