From 56b182340f4266aee5daefe732fa164caa87409e Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Thu, 7 Apr 2016 09:51:13 +0200 Subject: [PATCH] Step 2.3: Remove the DI manual decleration --- client/main.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/main.js b/client/main.js index abc441cd8..feb14f89b 100644 --- a/client/main.js +++ b/client/main.js @@ -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.' @@ -15,4 +17,4 @@ angular.module('socially', [ 'name': 'Savage lounging', 'description': 'Leisure suit required. And only fiercest manners.' }]; - }]); + });