I am trying to make a directive template multiline. Is this possible?
myApp.directive('myDir', function() {
return {
restrict: 'E',
template: '<div>
|Hello,
|{{test}}!
|</div>'
};
});
Here's a Fiddle to see what I mean.