I need to display a static array on a webpage without Angular watching its value. With that requirement in mind, my question is:
Which method is faster: using a directive to fetch a scope variable and create an HTML element with this variable as a hard-coded string within the HTML element
[ for example: el.html('<div>' + $scope.value + '</div>') ]
, or ... utilizing a template with one-time data binding using the :: syntax
[ for example: {{::value}} ]?