<link rel="import" href="../bower_components/polymer/polymer.html"><link rel="import" href="../bower_components/firebase-element/firebase-element.html"><polymer-element name="ca-services-collection" extends="firebase-element"> <script> Polymer('ca-services-collection', { ready: function(){ this.attributes.location = window.config.firebaseBase+"/services"; console.log("Ready Firebase attributes:", this.attributes); this.super(); } }); </script></polymer-element><ca-services-collection location="https://myapp.firebaseio.com/services" data="{{services}}"></ca-services-collection><ca-services-collection data="{{services}}"></ca-services-collection><link rel="import" href="../bower_components/polymer/polymer.html"><link rel="import" href="../bower_components/firebase-element/firebase-element.html"><polymer-element name="ca-services-collection" attributes="data coachId"> <template> <firebase-element location="{{location}}" data="{{data}}"></firebase-element> </template> <script> Polymer('ca-services-collection', Platform.mixin({ publish:{ location: config.firebaseBase + "/services" } }, config) ); </script></polymer-element>