I\'m able to embed the new html once received from the server but later I need to bind it to the model. Even when I compile it 5 seconds after it\'s inserted and displayed the h
Take a look at the answer to this related question, which describes using a directive to compile the template:
It's a bit tricky because ng-bind-html will simply insert plain old html and not bother compiling it (so any directives in the html will not be processed by angular.
Here's a demo, incorporating the suggested technique with your code.