McKinsey & Company interview question

What is inline array notation in AngularJS?

Interview Answer

Anonymous

Mar 14, 2018

app.controller("MyCtrl", ['$scope', function($scope){ $scope.someData = "Array notation"; }]);

1