var myapp = angular.module('myapp', []);
myapp.config(function($interpolateProvider) {
$interpolateProvider
.startSymbol('{[')
.endSymbol(']}');
});
myapp.controller('CanvasControls', function($scope) {
function1($scope);
function2($scope);
});
This code integrate with rails and working in development fine but in production mode it gives below errors.
Nicht bestandene Modul myapp aufgrund instanziiert:
Uncaught Error: $injector:modulerr
/$ Injektor/modulerr p0 = myapp
Nein, es funktioniert nicht. immer noch das gleiche Problem. –
Haben Sie auch den .config Teil überprüft? – brk