You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
If we remove transclude: true from the directive (imagine that the programmer has forgotten it), this is the error message generated:
TypeError: undefined is not a function
at new R.controller (http://code.angularjs.org/1.1.0/angular.min.js:145:411)
at d (http://code.angularjs.org/1.1.0/angular.min.js:27:283)
at Object.instantiate (http://code.angularjs.org/1.1.0/angular.min.js:27:413)
at http://code.angularjs.org/1.1.0/angular.min.js:50:428
at http://code.angularjs.org/1.1.0/angular.min.js:42:146
at m (http://code.angularjs.org/1.1.0/angular.min.js:6:312)
at k (http://code.angularjs.org/1.1.0/angular.min.js:42:8)
at e (http://code.angularjs.org/1.1.0/angular.min.js:38:207)
at k (http://code.angularjs.org/1.1.0/angular.min.js:42:253)
at e (http://code.angularjs.org/1.1.0/angular.min.js:38:207)
Suggest a better error message here:
ng-transclude directive called but no content to be transcluded - have you forgotten to set transclude: true?
The text was updated successfully, but these errors were encountered:
Based on this transclude example: http://jsfiddle.net/ospatil/A969Z/
If we remove
transclude: true
from the directive (imagine that the programmer has forgotten it), this is the error message generated:Suggest a better error message here:
The text was updated successfully, but these errors were encountered: