Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="ng-app" ng-app="app">
- <div ng-controller="AppController" nv-file-drop="" uploader="uploader">
- </div>
- $.ajax({
- url: '...',
- success: function(response) {
- $('body').html(response.html); // where html is template from server with controller
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement