Client code moved into Angular application