-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi.
I'm install this gem.
Create file with extension .coffee.ng-classify, with simple code:
class Home extends Controller
constructor: ($scope) ->
$scope.coolMethod = 'Some'
But not work.
In browser console message ' Uncaught ReferenceError: Controller is not defined'.
and js file:
(function() {
var Home,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
__hasProp = {}.hasOwnProperty;
Home = (function(_super) {
__extends(Home, _super);
function Home($scope) {
$scope.coolMethod = 'Some';
}
return Home;
})(Controller);
}).call(this);
what am I doing wrong?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels