renderer.setElementClass for icon class

This commit is contained in:
Adam Bradley
2015-08-01 00:24:29 -05:00
parent c0223edabe
commit 04fc983c2a
3 changed files with 9 additions and 23 deletions

View File

@@ -95,7 +95,9 @@ export class IonicApp {
let loader = this.injector.get(DynamicComponentLoader);
let rootComponentRef = this.ref()._hostComponent;
return loader.loadNextToLocation(component, rootComponentRef.location, this.bindings)
let bindings = this.injector._proto._strategy.bindings;
return loader.loadNextToLocation(component, rootComponentRef.location)
.catch(err => {
console.error('appendComponent:', err);
});
@@ -149,18 +151,6 @@ function initApp(window, document, config) {
return app;
}
@Component({
selector: 'test-comp'
})
@View({
template: 'test-comp text'
})
class TestComp {
constructor(config: IonicConfig) {
console.log('TestComp constructor')
}
}
export function ionicBootstrap(component, config, router) {
return new Promise(resolve => {
try {