Create a task to init angular controllers without a view.