ich versuche Winkel js mit django Servernicht in der Lage
hier ist die index.html
{% load staticfiles %}
<html ng-app="blog">
<head>
<script type="text/javascript" src="{% static 'js/libs/angular.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/modules/app.module.js' %}"></script>
<script type="text/javascript" src="{% static 'js/modules/app.config.js' %}"></script>
</head>
<body>
<input type="text" ng-model="name">
<p>hi , {{name}}</p>
</body>
</html>
hier ist app.module.js
'use strict'
angular.module('blog' , []);
zu verwenden hier ist app.config.js
'use strict'
angular.module('blog').config(function(){});
das ng-modell v name
wird überhaupt nicht angezeigt.Kein Fehler auftritt und nichts kommt auf die Eingabe von irgendetwas in der Eingabe-Box
Was kann der Fall sein und wie kann ich davon erholen?
versuchen entfernen [], verwendet '' var blog = angular.module ('Blog'); '' –