JSFiddle - React, Tailwind, and code Playground
by GruffBunny
HTML
<div ng-app='MyModule' ng-controller='MyController'>
<p ng-repeat='(key,value) in everythingButTheFunctions'>key = {{key}}, value = {{value}}</p>
</div>
JavaScript
angular.module('MyModule', [])
.controller( 'MyController', function($scope){
$scope.firebaseObject = {
f1: function(a){ return ''; },
abc: 12,
def: 'asas',
f2: function(){ return ''; }
};
$scope.everythingButTheFunctions = {};
angular.forEach( $scope.firebaseObject, function(value, key){
if( !angular.isFunction(value)){
$scope.everythingButTheFunctions[key] = value;
}
});
});