I'm trying to see if i can subscribe to a variable of type observable. when i bind input with [(ngModel)] the changes don't seem to trigger.
Code:
@Component({
  selector: 'alert',
  template: '<input type="text" [(ngModel)]="test" />'
})
export class alertComponent {
  default:String: 'testValue';
  test = Observable.of(this.default).subscribe(x => {
    console.log(x); // only logs for first time
  });
}
 
     
     
    