Skip to content

Commit ec40d9e

Browse files
committed
Fixed angular not loading
1 parent 94baeaa commit ec40d9e

5 files changed

Lines changed: 6 additions & 10 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Application/static/.webassets-cache
2+
Application/static/js/app.min.css

Application/static/js/Application.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.config(AppConfig)
77
.run(AppRun);
88

9-
PointsConfig.$inject = ['$stateProvider', '$urlRouterProvider', '$resourceProvider'];
9+
AppConfig.$inject = ['$stateProvider', '$urlRouterProvider', '$resourceProvider'];
1010

1111
function AppConfig($stateProvider, $urlRouterProvider, $resourceProvider) {
1212
$urlRouterProvider.otherwise("/");

Application/static/js/app.min.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

Application/static/js/controllers/dashboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
function DashboardCtrl($scope, toaster, $log) {
1111
var self = this;
1212

13-
self.title = "Welcome!"
13+
self.title = "dashboard"
1414

1515
}
1616

Application/templates/layout.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<head>
77
<meta charset="utf-8">
88

9-
<title>{% block page_title %}points_tracker{% endblock %}</title>
9+
<title>{% block page_title %}Application{% endblock %}</title>
1010
<meta name="description" content="{% block meta_description %}{% endblock %}">
1111
<meta name="author" content="{% block meta_author %}{% endblock %}">
1212

@@ -25,7 +25,7 @@
2525
{% block css %}{% endblock %}
2626

2727
</head>
28-
<body ng-app="points_tracker" class="{% block body_class %}{% endblock %}">
28+
<body ng-app="Application" class="{% block body_class %}{% endblock %}">
2929
{% block body %}
3030
{% with form=form, layout=self %}
3131
{% include "nav.html" %}

0 commit comments

Comments
 (0)