use injector instead of passing params

This commit is contained in:
Adam Bradley
2015-06-27 14:42:09 -05:00
parent edbcf9f834
commit f21802ba87
4 changed files with 6 additions and 20 deletions

View File

@ -25,12 +25,9 @@ export class Nav extends ViewController {
constructor(
@Optional() viewCtrl: ViewController,
compiler: Compiler,
elementRef: ElementRef,
loader: DynamicComponentLoader,
injector: Injector
) {
super(viewCtrl, compiler, elementRef, loader, injector);
super(viewCtrl, injector);
}
onInit() {