Angular $Scope Deconstructing Patterns Error
<p>I'm trying to hardcode some data into my angular $scope like with this controller file:</p>

<pre><code>(function() {
  'use strict';

  angular
    .module('app.public')
    .controller('PublicController', Controller);

  /** @ngInject */
  function Controller($scope, $log, app_media) {
    $scope.tags = [{
      name = 'clock'
    }, {
      name = 'eye'
    }, {
      name = "ball"
    }];
  }
})();
</code></pre>

<p>when i go to use it in my views it looks like this:</p>

<pre><code>&lt;md-grid-list md-gutter="1em" md-row-height="20px" md-cols="3"&gt;
  &lt;md-grid-tile ng-repeat="tag in tags" class="repeated-item"&gt;
    {{tag.name}}
  &lt;/md-grid-tile&gt;
&lt;/md-grid-list&gt;
</code></pre>

<p>but alas I'm getting this error in the chrome console: <code>"Shorthand property assignments are valid only in destructuring patterns"</code></p>

<p>what does this mean and how can I fix? I've looked into destructuring patterns and it looks like it's the syntax for being able to assign object literals to variables? thanks! :)</p>