Here are some example AngularJS fragments:
<image ng-href="{{mainCtrl.href}}" xlink:href="" width="383" height="108" />
<div ng-show="mainCtrl.show">
<svg xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1" ng-attr-width="{{mainCtrl.svg.width}}" height="400">
<svg xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1" ng-style="mainCtrl.style">
For some of the AngualrJS attribute directives I need to use double curlies to reference the model data in the controller, while for others I must not use double curlies.
When I encounter a new AngularJS directive how do I know what I should use to point it to the data on the controller? Is there some rationale as to which directives require double curlies and which require their absence?