making angular file use getwidmaster and addwidmaster instead of getwid and updatewid