Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

104
Views
Angular 12 or 13 Observers vs Ember.js

I have been working in Ember.js since last 8 years. Now switched to Angular.js Version 13 In Ember.js if I have to do something when some variables of model change, This was the code

Following code is from Ember.js how can we do the same in Angular.js version 13 or 12

import { observer } from '@ember-cli';
import SomeOtherModel from 'app/models/someothermodel';

foo1:null,
foo2:[],
foo3:false,
SomeOtherModel:someOtherModel

fooObeserver: observer('foo1', 'foo2', 'foo3', 'someOtherModel.foo9', 'someOtherModel.foo12', function(){
      //do bla bla
      this.anymethod();
      this.someOtherModel.anymethod();
      .....
});

Note: fooObserver is not referenceable but whenever these variables will change this block will be executed.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!