Change extend from goog.closure to angular in controllers