I'm new to Angular so I'm not completely sure whether my code looks good or not? var app = angular.module('Todolist', ['ngResource', 'xeditable']); app.run(function(editableOptions) { editableOptions.theme = 'bs3'; }); app.controller('TasksCtrl', [ '$scope', 'Task', function($scope, Task) ...