title: Can i send an object to isolated scope '@' property
body: <p>I have a directive which accepts object as a parameter (attribute). I am getting the data in my link function as string. Is there any way to receive the data as object keeping <code>@</code> in the attribute and without using eval or <code>JSON.parse()</code> in link.</p>
  
  <p><strong>Directive code:</strong></p>
  
  <pre><code>module.directive('example', function () {
      return {
          scope: {
              object: '@'
          }
          link: function ($scope) {
              console.log($scope.object);
          }
      }
  });
  </code></pre>
  
  <p><strong>HTML code:</strong></p>
  
  <pre><code>&lt;example object="{{sampleObject}}"&gt;&lt;/example&gt;
  </code></pre>
  
  <p><strong>Controller code:</strong></p>
  
  <pre><code>module.controller('exampleCtrl', function ($scope) {
      $scope.sampleObject = {
          name: 'name',
          width: 100,
          height: 100
      };
  })
  </code></pre>