Skip to content

Commit

Permalink
Step 2.3: Remove the DI manual decleration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and Dotan Simha committed Nov 22, 2016
1 parent 3eec04d commit 56b1823
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/main.js
Expand Up @@ -4,7 +4,9 @@ import angularMeteor from 'angular-meteor';
angular.module('socially', [
angularMeteor
])
.controller('PartiesListCtrl', ['$scope', function($scope) {
.controller('PartiesListCtrl', function($scope) {
'ngInject';

$scope.parties = [{
'name': 'Dubstep-Free Zone',
'description': 'Can we please just for an evening not listen to dubstep.'
Expand All @@ -15,4 +17,4 @@ angular.module('socially', [
'name': 'Savage lounging',
'description': 'Leisure suit required. And only fiercest manners.'
}];
}]);
});

0 comments on commit 56b1823

Please sign in to comment.