I am trying to get data from Firebase in my HTML using AngularJS. It works fine, but when I get to the child node, it displays the data in unexpected form. Please find images for details:
Json File I imported to Firebase:

Presentation of FireBase data:

Data returned in HTML:

Expected data as

In my controller, I am trying to get data from FireBase as:
$scope.locService = $rootScope.service; var serviceRef = new Firebase(FIREBASE_URL+"ABC/location/"+$rootScope.location+"/services/"+$rootScope.service+"/"+$rootScope.serviceDetail+""); $scope.details = $firebaseArray(serviceRef);
$ rootScope values do the right thing because they return data (which are not in the expected format, i.e. with $ id, $ value, $ priority).
In my HTML:
<div class="content has-header"> <h2>{{details[0]}}</h2> </div>
Please help me. Thanks in advance for your suggestions.
source share