Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function MyAppComponent() {
- this.isTrue = true;
- }
- MyAppComponent.annotations = [
- new angular.ComponentAnnotation({
- selector: 'my-app'
- }),
- new angular.ViewAnnotation({
- templateUrl: 'elements/my-app/my-app.html'
- })
- ];
- document.addEventListener('DOMContentLoaded', function() {
- angular.bootstrap(MyAppComponent);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement