#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 raw-data='' ng-bind='the_datas' type='json'>{"stuff":23,"other":"data"}</script>
</div>
<div>
<p>{{the_datas}}</p>
<scriptraw-data='' ng-bind='the_datas' type='json' initdata='{"stuff":23,"other":"data"}'></script>
</div>
more if can be added to be able to load strings/integers/booleans.
...
try{
if ($attrs.type.toLowerCase() == 'json')
$scope[$attrs.ngBind] = angular.fromJson(text);
...