angular controller inheritance