无法实例化模块 myApp,但我已经声明了它



我有以下jsfiddle,我不确定它有什么问题?

有什么想法吗?

https://jsfiddle.net/jimmyt1988/8kx0s953/7/

<div ng-app="myApp">    
<points></points>
<script type="text/ng-template" id="pointstemplate">
rgrgerg
</script>
</div>
angular
.module('myApp', [])
.component('points', {
templateUrl: 'pointstemplate',
controllerAs: 'viewModel',
controller: function(){
...

对资源进行重新排序,使 jQuery 位于 angular.min 之前.js

最新更新