This repository was archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
This repository was archived by the owner on May 29, 2019. It is now read-only.
No controller: tabset #597
Copy link
Copy link
Closed
Description
I am using the new <tabset>
as follows:
<tabset>
<tab heading="Question">
<textarea
data-ui-tinymce
data-ng-model="formData.title"
style="width:400px; height:200px">
</textarea>
</tab>
<tab>
<label>Question</label>
<input class="input-medium" data-ng-disabled="action=='delete'" data-ng-model="tab.text" id="Text1" required type="text">
</tab>
<tab ng-repeat="tab in formData.answers" heading="{{$index + 1}}" active="tab.active" disabled="tab.disabled">
<label for="inputName">Answer {{$index + 1}}</label>
<textarea data-ui-tinymce data-ng-model="tab.text" style="width:400px; height:200px"></textarea>
<input type="checkbox" data-ng-model="tab.correct">
</tab>
</tabset>
The code is working okay but I see in the console the following error message. I have tried to look into what is wrong but I can see nothing wrong with my code. I have tried the plnkr for tabs and this works fine.
Error: No controller: tabset
at Error (<anonymous>)
at getControllers (http://127.0.0.1:81/Scripts/angular-1.0.7.js:4278:19)
at nodeLinkFn (http://127.0.0.1:81/Scripts/angular-1.0.7.js:4407:35)
at delayedNodeLinkFn (http://127.0.0.1:81/Scripts/angular-1.0.7.js:4559:11)
at compositeLinkFn (http://127.0.0.1:81/Scripts/angular-1.0.7.js:4003:15)
at publicLinkFn (http://127.0.0.1:81/Scripts/angular-1.0.7.js:3920:30)
at Object.ngRepeatWatch (http://127.0.0.1:81/Scripts/angular-1.0.7.js:13725:13)
at Object.$RootScopeProvider.$get.Scope.$digest (http://127.0.0.1:81/Scripts/angular-1.0.7.js:7935:38)
at Object.$RootScopeProvider.$get.Scope.$apply (http://127.0.0.1:81/Scripts/angular-1.0.7.js:8143:24)
at HTMLDivElement.<anonymous> (http://127.0.0.1:81/Scripts/angular-1.0.7.js:12986:17) <li ng-class="{active: active, disabled: disabled}" ng-repeat="tab in formData.answers" heading="{{$index + 1}}" active="tab.active" disabled="disabled" class="ng-scope"> angular-1.0.7.js:5754
Metadata
Metadata
Assignees
Labels
No labels