未捕获的TypeError:无法读取属性' module'未定义的

时间:2017-04-05 16:41:42

标签: angularjs angular-material2

我添加了角度js及其依赖项 如下:

    <head>
        <meta charset="utf-8"><!-- Angular Material Dependencies -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title >Traffic Solution</title>
        <link rel="icon" href="images/icon.ico"/>
        <link rel="stylesheet" type="text/css" href="styles/index.css"/>
        <script src="scripts/angular.js" type="text/javascripts"></script>
        <link href="https://fonts.googleapis.com/icon?family=Material+Icons" 
        rel="stylesheet">
        <script src="scripts/angular-aria.js" type="text/javascripts"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-
        material/1.1.3/angular-material.js"></script>
        <script src="scripts/angular-animate.js"></script>
        <script src="scripts/map-coordinates.js"></script>


<link rel="stylesheet" 
           href="https://cdnjs.cloudflare.com/ajax/libs/angular-material/1.1.3/angular-material.css">


    <script  src="scripts/map-coordinates.js"></script>
        <script  src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAgm7mUscslu_s1ujfaq5UBkFJObJ5qlZs"
        type="text/javascript"></script>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

  </head>

这里是角度定义project.js

var app=angular.module('myApp',['ngMaterial']);
    app.controller('myControl',function($scope){

          $scope.isDisable = false;
    });

在Chrome开发人员模式下我收到上述模块错误&#34; Uncaught TypeError:无法读取属性&#39; $$ minErr&#39;未定义&#34;错误也..任何形式的帮助或建议?

0 个答案:

没有答案