Angular: Empty Fiddle

http://angularjs.org/

by Nathaniel Anderson

HTML

<script src="http://code.angularjs.org/angular-1.0.1.js"></script>
<div ng-controller="MyCtrl">
 <a ng-href="{{ get_href() }}">Mail link</a>

</div>

JavaScript

var myApp = angular.module('myApp',[]);

//myApp.directive('myDirective', function() {});
//myApp.factory('myService', function() {});

function MyCtrl($scope) {
$scope.get_href = function(){
return "mailto:[email protected]?subject=Subject includes \"double-quotes\"";
}
}