Adding a new tab
In this project, we would like to add a new tab that highlights the developers of this application. This will inform the potential users of this app about how to get in touch with the developers to provide them with the necessary feedback to improve the app experience.
In order to achieve this, we'll need to perform the following four main steps:
- Create a new controller entry in
- Create a new tab controller called
- Add a new tab entry in the
- Consolidate our work in the
app.jsfile and connect everything together.
Creating a new controller
Let's start with adding a controller for the new tab. Head over to
controllers.js and add the following into it:
controller('AboutCtrl', function($scope) ...