Load pages from the database

1

How do I load pages from the database, so that the AngularJS policies work?

Currently, I'm loading pages with jQuery. The page loads perfectly. It turns out that when this occurs, the startup cycle of AngularJS has already been terminated and it does not recognize the policies that came with the page loaded from the database.

    
asked by anonymous 16.01.2017 / 00:28

1 answer

0

You must use the $ compile service. The response from this link has a example in plunker how this works.

    
16.01.2017 / 19:13