JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="myApp" ng-controller="mainCtrl">
{{ name }}
</div>
JavaScript
var app = angular.module('myApp',[]);
app.controller('mainCtrl',function($scope){
$scope.name = "hi";
$scope.object = {
'thing1': {
'content': 'blah blah',
'order': '1',
},
'thing2': {
'content': 'blah blah blah',
'order': '2',
}
}
var result = []
console.log($scope.object);
angular.forEach($scope.object, function (value, key) {
result.push(value.content);
});
console.log(result)
});