angularAMDで遅延読み込みを実装しようとしています
Plunker クリックして IE ブラウザで再生してください
これが私のコードです。私を助けてください...
require.config({
baseUrl: "js/scripts",
// alias libraries paths. Must set 'angular'
paths: {
'angular': '//ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min',
'angular-route': '//ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular-route.min',
'angularAMD': '//raw.github.com/marcoslin/bower-angularAMD/v0.1.0/angularAMD.min',
'ngload': '//raw.github.com/marcoslin/bower-angularAMD/v0.1.0/ngload.min',
'restangular': '//cdn.jsdelivr.net/restangular/latest/restangular.min',
'underscore': '//cdn.jsdelivr.net/underscorejs/1.5.2/underscore-min'
},
// Add angular modules that does not support AMD out of the box, put it in a shim
shim: {
'angularAMD': ['angular'],
'angular-route': ['angular'],
'restangular': ['angular', 'underscore']
},
// kick start application
deps: ['app']
});