Advertisement
Guest User

Untitled

a guest
Jul 7th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. function MyAppComponent() {
  2. this.isTrue = true;
  3. }
  4.  
  5. MyAppComponent.annotations = [
  6. new angular.ComponentAnnotation({
  7. selector: 'my-app'
  8. }),
  9. new angular.ViewAnnotation({
  10. templateUrl: 'elements/my-app/my-app.html'
  11. })
  12. ];
  13.  
  14. document.addEventListener('DOMContentLoaded', function() {
  15. angular.bootstrap(MyAppComponent);
  16. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement