calling addToAngular when updatewid is running locally