Adding class style to my component

Hi there.

With the new update of Ionic 2 (2.0.0-rc.0), how would I add class style to an html page of a component.

For example, I have a register page.

register.scss

page-register {
.labelColor{
    color:red;
}

}

and

register.html

 <ion-item class='labelColor'>

Does not work.

How would I do this correctly?

Did you add into your component the selector field :

@Component({
  selector: 'page-register',
  templateUrl: 'myTemplate.html'
})

Hi, yes I added the selector in my component header