File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4
4
"license" : " Apache-2.0" ,
5
5
"dependencies" : {
6
6
"angular2" : " 2.0.0-beta.0" ,
7
+ "angular2-phoenix-channels" : " 0.0.1" ,
7
8
"es6-promise" : " ^3.0.2" ,
8
9
"es6-shim" : " ^0.33.3" ,
9
10
"reflect-metadata" : " 0.1.2" ,
Original file line number Diff line number Diff line change 1
1
import { bootstrap } from 'angular2/platform/browser' ;
2
2
import { AngularCliTestApp } from './app/angular-cli-test' ;
3
-
3
+ // import PhoenixChannels from "angular2-phoenix-channels";
4
4
5
5
bootstrap ( AngularCliTestApp ) ;
Original file line number Diff line number Diff line change 1
1
import { Component } from 'angular2/core' ;
2
-
2
+ import ng2test from "ng2-cli-test-lib" ;
3
3
4
4
@Component ( {
5
5
selector : 'angular-cli-test-app' ,
6
- providers : [ ] ,
6
+ providers : [ ng2test . providers ] ,
7
7
templateUrl : 'app/angular-cli-test.html' ,
8
8
directives : [ ] ,
9
9
pipes : [ ]
10
10
} )
11
11
export class AngularCliTestApp {
12
12
defaultMeaning : number = 42 ;
13
-
13
+
14
14
meaningOfLife ( meaning ) {
15
15
return `The meaning of life is ${ meaning || this . defaultMeaning } ` ;
16
16
}
You can’t perform that action at this time.
0 commit comments