Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <div id="ng-app" ng-app="app">
  2. <div ng-controller="AppController" nv-file-drop="" uploader="uploader">
  3. </div>
  4.  
  5. $.ajax({
  6. url: '...',
  7. success: function(response) {
  8. $('body').html(response.html); // where html is template from server with controller
  9. }
  10. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement