decouples ng-App from config callback