Updated code to new versions of angular, firebase and angularfire;
added example of the firebase json - txt.json