These are chat archives for angular/material

28th
Jul 2017
divyameher
@divyameher
Jul 28 2017 06:16
Does any one know angular material2 control which is similar to https://jqueryui.com/spinner/
(jquery spinner) should work in IE 11,chrome and Edge?
Luke Skelhorn
@SCRATK
Jul 28 2017 09:58
Hi I have my routes set up like this
const routes: Routes = [
    { path: '', component: ParentComponent, canActivate: [ LoggedInGuard ], children: 
        [
            { path: 'profile', component: ProfileComponent },
            { path: 'sign-out', component: SignOutComponent },
            { path: 'set-password', component: SetPasswordComponent },
            { path: '', canActivate: [ LastLoginDateGuard ], children:
                [
                    { path: 'admin', canActivate: [ adminGuard ], children:
                        [
                            { path: 'event/:event_id',  component: appComponent,  children: [
                                { path: '', component: EventComponent }
                            ]},
                        ] 
                    },
                ]          
            },
            { path: '', redirectTo: '/sign-in', pathMatch: 'full' },
        ]
    },
    { path: '', component: AppComponent },
    { path: 'home', component: HomeComponent },
    { path: 'sign-in', component: SignInComponent },
    { path: 'sign-up', component: SignUpComponent },
    { path: '**', component: PageNotFoundComponent }
];
I'm trying to get it so the route with the path of event/:event_id has a different parent competent then it should have
hitendrasinh gohil
@sinh_gohil_twitter
Jul 28 2017 12:03
@sinh_gohil_twitter
How to get selected value in controller?
Here is the code
<div class="field">
<select class="ui dropdown" [(ngModel)]="gender">
<option *ngFor="let gender of genderList">{{gender}}</option>
</select>
</div>
I want to get selected value back in contoller