title: Storing HTML in Firebase (AngularFire), good idea or bad?
body: <p>Is it a good idea to store HTML in Firebase (AngularFire)? </p>
  
  <p>I have a website where I am creating an admin site where users can make HTML elements. I want people to save these elements and the order and the content within the elements. So I thought it would be much easier to just store the whole HTML as a string and load it in when they return. Bad idea?</p>
  
  <p>Here is what I have (simplification):</p>
  
  <pre><code>$scope.save = function() {
      var refState = new Firebase("https://&lt;name&gt;.firebaseio.com/users/" + currentAuth.uid + "/state");
      var html = "&lt;div&gt;hello&lt;/div&gt;";
      refState.set({
          "state": html
      }, function(error) {
          if (error) {
              console.log("not been saved")
          }
      })
  }
  </code></pre>
  
  <p>And in my HTML I retrieve want to display it like this using Angular, (yeah I know now how to render HTML in Angular thanks to the comments :)</p>
  
  <pre><code>&lt;div class="well col-md-12"&gt;
  {{sync[3].state}}
  &lt;/div&gt;
  </code></pre>