title: How to call method from template in Vue.js?
body: <p>I have my vue instance:</p>
  
  <pre><code>var testOptions = new Vue({
      el: '#testOptions',
      methods: {
          getURL: function () {
              return (window.location.href);
          },
          testOne: function () {
              console.log('!!');
          },
          testTwo: function () {
              console.log('!!!!');
          }
      },
      data: {
          shares: [
              { text: 'testOne', icon: 'ico_test1.svg',func: testOne() },
              { text: 'testTwo', icon: 'ico_test2.svg', func: testTwo() },
          ]
      }
  });
  </code></pre>
  
  <p>Is it possible to call my method <code>testOne</code>/<code>testTwo</code> which I pass to <code>shares</code> array like this:</p>
  
  <pre><code>&lt;li v-on:click="share.func" class="test-options__option"&gt;
      {{share.text}}
  &lt;/li&gt;
  </code></pre>