})
})
- .controller('IndexCtrl', ['Catalog', '$sce', '$scope', '$location', '$anchorScroll', function(Catalog, $sce, $scope, $location, $anchorScroll) {
+ .controller('IndexCtrl', function(Catalog, $sce, $scope, $location, $anchorScroll) {
this.loadHighlighted = function() {
Catalog.loadHightlighted(
function(data) {
this.loadHighlighted();
this.loadStats();
this.loadContributors();
- }])
+ })
- .directive('contributorList', ['Model', function(Model) {
+ .directive('contributorList', function(Model) {
return {
restrict: 'E',
scope: {
},
templateUrl: '/directives/contributor-list.html'
};
- }])
+ })
})();