When disabling the debuging in angularjs in production, as it is suggested in the guide: $compileProvider.debugInfoEnabled(false) the library breaks:
https://docs.angularjs.org/guide/production
The error is of the form:
TypeError: Cannot read property 'year' of undefined
at getOptionValue (nya-bs-select.js:1105)
at nya-bs-select.js:1177
at angular.js:17711
at completeOutstandingRequest (angular.js:5396)
at angular.js:5668
My code is as follows:
<ol class="col-md-3 nya-bs-select" ng-model="customerCtrl.customer.year">
<li nya-bs-option="year in customerCtrl.yearOptions.years" ng-value="year">
<a>{{ year }}</a>
</li>
</ol>
I tried many things and if I enable debugging it works, if it is disabled I could not make it work.
Hi,
When disabling the debuging in angularjs in production, as it is suggested in the guide:
$compileProvider.debugInfoEnabled(false)
the library breaks:The error is of the form:
My code is as follows:
I tried many things and if I enable debugging it works, if it is disabled I could not make it work.
Thanks for any suggestions, Vlad