title: AngularJs $compile finish / end event
body: <p>Hi I would like to know,
  if there is a way to get something like promise (i guess it will be postLink in this case) on $scope.
  i an unanswered question here: <a href="https://stackoverflow.com/questions/19743143/angularjs-how-to-know-when-the-compile-has-finished">AngularJS: how to know when the $compile has finished?</a> which is very similar to my question,</p>
  
  <p>but i wonder if someone can help me understand how can i hook the postLink event:</p>
  
  <p>i have the following code:</p>
  
  <pre><code>var compiledEl =
  $compile("&lt;link data-ng-repeat='stylesheet in injectedStylesheets' data-ng-href='{{stylesheet.href}}' rel='stylesheet' /&gt;");
  head.append(compiledEl(scope));
  </code></pre>
  
  <p>so i don't know where to add <code>promise.resolved(true);</code>
  cause i don't see the postLink. how can i know when the $compile comes to an end.
  Thanks</p>