Hi I know this is an easy question how can you insert a new line in a directive template? I have a long template. and it is hard for me to scan through horizontally. I want to have it in a new line. However angular doesn't want.
app.directive('broadcasted', function(){
return{
restrict: 'EAC',
// NEW LINE THE TEMPLATE NOT JUST IN A SINGLE LINE
template: '<div class="alert alert-success col-md-6" ng-repeat="x in bcards"><strong class="broadcast-text" ><% x.q_number %> - <% x.teller_id %></strong></div>',
link: function($scope){
}
};
});
? – Nikhil Batra Jul 02 '15 at 06:58