I'm having trouble with catching scope [[gallery]] which one MUST rendered by php because plugin is creating popup by XHR request. 
<html>
<body ng-app="app">
      here are all scopes (displaying data)
   -- here's part rendered by PHP and sended to view but it shows as [[scope]]
</body>
</html>
How can "resume" angular to catch scope after rendering it by php?
