These are chat archives for angular/angular-2-ionic-2

11th
Apr 2016
Akshit Sawhney
@akshitsawhneyseedoc
Apr 11 2016 06:20
Can anyone tell me what is the meaning of "bindings" option in Component decorator. @Component({ bindings: [OpenTokService], selector: 'sd-qa', moduleId: module.id, viewProviders:[HTTP_PROVIDERS], template: LOGIN_TEMPLATE, styles: LOGIN_CSS, directives: [FORM_DIRECTIVES, CORE_DIRECTIVES,ROUTER_DIRECTIVES] })
ataraxus
@ataraxus
Apr 11 2016 08:15
Hey folks, I'm having a hard time getting used to ionic2. there is something wrong with my usage of @CanActivate it doesnt seem to have any effect. Could someone please give me some advice?
ataraxus
@ataraxus
Apr 11 2016 09:33
I see there is some work on CanActivate: https://github.com/driftyco/ionic-code/blob/c546dcf7dcbf334df349b45db81fbec9718d9fea/2.0.0/js/router.dev.js
But i don't get yet what exactly is happening there
is there a documentation where ionic2 differs from angular2 (apparently i should be using onPageWillEnter or onPage*.. ) and when to choose which approach?
ataraxus
@ataraxus
Apr 11 2016 14:09
found this thread, where someone else had this issue too and didnt solved it sadly: https://forum.ionicframework.com/t/what-is-the-equivalent-of-resolve-in-ionic-2/37679/15