<tr ng-repeat="contact in contacts"><td>{{contact.Uri}}</td><td>{{contact.Activity}}</td><td><a href="tel:{{contact.Workphone}}">{{contact.Workphone}}</a></td></tr>
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
I'm running into the same issue as was directed to this thread. But I don't understand where to put the "$compileProvider.urlSanitizationWhitelist() " line in my code. The provided plnkr.co link doesn't seem to work - I don't see any javascript code in.Shouldn't this be a documented, easy to use feature - turning off url sanitization or making it easy to add protocols right in the directives?Greg
But it really is rather easy to add ng-app="something" to your HTML, then have a bit of JavaScript loaded "somewhere" that has this...angular.module('something', []).config(function($compileProvider){$compileProvider.urlSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|tel):/);});
--