forked from rangle/augury
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.ts
More file actions
22 lines (19 loc) · 664 Bytes
/
app.ts
File metadata and controls
22 lines (19 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Load Global Styles
import 'todomvc-common/base.css';
import 'todomvc-app-css/index.css';
import {bootstrap} from 'angular2/bootstrap';
import {TodoList} from './components/todo-list';
import {TodoStore} from './stores/todo-store';
// For Batarangle Integration
import {AppViewListener} from 'angular2/src/core/linker/view_listener';
import {DebugElementViewListener, inspectNativeElement}
from 'angular2/platform/common_dom';
import {bind} from 'angular2/core';
bootstrap(TodoList, [
TodoStore,
bind(AppViewListener).toClass(DebugElementViewListener)
])
.then(applicationReference => {
const w: any = window;
w.ng.probe = inspectNativeElement;
});