Removed redundant code
Added new firebase and new angularfire library references