feat config: add controllerAs config with function

need to support function pointers so we can pass them in