Use promises to initialize controller data