Ionic angularjs firebase


#1

Hi,
i want to create a list page and a detail page for my ionic app. the LIST page already functions properly but dont know what to write in the DETAIL controller for the detail page
here is my code

.controller(‘concertsCtrl’, [’$scope’, ‘$http’, ‘$state’,
function($scope, $http, $state) {
$http.get(‘firebase-database-url/concert.json’).success(function(data) {
$scope.concerts = data;

}])

.controller(‘concertCtrl’, function($scope, $stateParams) {
$scope.concert = $stateParams.data;
});