update ng app, ctrl, config and so on