Commit aeb6e622 authored by Leonardo Piccioni de Almeida's avatar Leonardo Piccioni de Almeida
Browse files

Refactor: rename courses modules.

parent c2d39cdb
......@@ -2,6 +2,8 @@
'use strict';
var app = angular.module('courses', [
'courses.controller',
'courses.filters',
'ngResource',
'timtec-models',
'directive.fixedBar',
......
(function(angular){
'use strict';
var app = angular.module('courses');
var app = angular.module('courses.controller', []);
app.controller('CoursesAdminController', [
'$scope', '$uibModal', '$window', 'Course', 'Lesson', 'FormUpload',
......
(function(angular){
'use strict';
var app = angular.module('courses');
var app = angular.module('courses.filters');
app.filter('capfirst', function() {
return function(text) {
......
(function(angular){
'use strict';
var app = angular.module('courses', [
var app = angular.module('admin.courses', [
'admin.courses.controllers',
'admin.courses.filters',
'ngResource',
'timtec-models',
'directive.fixedBar',
......
(function(angular){
'use strict';
var app = angular.module('courses');
var app = angular.module('admin.courses.controllers', []);
app.controller('CoursesAdminController', [
'$scope', '$uibModal', '$window', 'Course', 'Lesson', 'FormUpload',
......
(function(angular){
'use strict';
var app = angular.module('courses');
var app = angular.module('admin.courses.filters', []);
app.filter('capfirst', function() {
return function(text) {
......
......@@ -12,7 +12,7 @@
{% endblock %}
{% block body_attrs %}
ng-app="courses"
ng-app="admin.courses"
{% endblock %}
{% block wrapper_classes %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment