Binding Props in VueJs Components

Passing data to VueJs components by binding data to props - http://coligo.io

HTML

<script src="https://cdn.jsdelivr.net/vue/1.0.16/vue.js"></script>
<div id="app">
  <div>
    The URL is: {{url}}
  </div>
  <div>
    <a target="_blank" v-bind:href="url">goto URL</a>
  </div>
  <div  v-bind:href="url2">
    <a target="_blank">goto URL2</a>
  </div>
  <div>
    <a target="_blank" v-bind:href="getUrl()">goto URL2 using javascript function</a>
  </div>
</div>

JavaScript

function getUrl() {
	return 'http://www.amazon.com';
}

var vm = new Vue({
	el: '#app',
	data: {
		url: 'http://www.google.com',
    url2: getUrl()
	}
});