(function(){
angular.module('myapp')
.component('myComponent', {
templateUrl: 'some.html',
controller: MyController, //error at this line
controllerAs: 'myCtrl',
bindings: {
items: '<'
}
});
function MyController()
{
}
})();
Thanks in advancefunction MyController()
{
}