...

/

Creating a Controller

Creating a Controller

In this lesson, you’ll learn how to create a controller and understand its specifications.

Command to create controller

We established that we need a songs controller to be able to define a default value for showAddSong, so let’s create one with the following command:

ember g controller
...

Access this course and 1200+ top-rated courses and projects.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy