#Why rawData (reminder)
Because I don't want to have two requests to load one page (one for the squeleton, one for the datas).
So I want to embed the datas in my page on the first request to load them directly.
#How to use rawData
<div>
<p>{{the_datas}}</p>
<script ng-bind='the_datas' raw-data='json'>{"stuff":23,"other":"data"}</script>
</div>
<div>
<p>{{the_datas}}</p>
<script initdata='{"stuff":23,"other":"data"}' ng-bind='the_datas' raw-data='json'></script>
</div>
more if
can be added to be able to load strings/integers/booleans.
...
try{
if ($attrs.rawData.toLowerCase() == 'json')
$scope[$attrs.ngBind] = angular.fromJson(text);
...