Created
          June 6, 2011 13:20 
        
      - 
      
- 
        Save vojtajina/1010228 to your computer and use it in GitHub Desktop. 
    Angular jgLite issue #369
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <!doctype html> | |
| <html xmlns:ng="http://angularjs.org"> | |
| <head> | |
| <script src="http://code.angularjs.org/0.9.14/angular-0.9.14.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| // create element by jqLite | |
| var s1 = angular.element('<script>') | |
| .attr({type: 'text/javascript', src: 'http://code.angularjs.org/0.9.15/angular-0.9.15.js?param1'}); | |
| // create element by raw document.createElement | |
| var s2 = angular.element(document.createElement('script')) | |
| .attr({type: 'text/javascript', src: 'http://code.angularjs.org/0.9.15/angular-0.9.15.js?param2'}); | |
| // append to body | |
| angular.element(document.body).append(s1).append(s2); | |
| </script> | |
| </body> | |
| </html> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment