Fixed ng-repeat issue by shifting in element to array.
Adding newPost to the ng-repeat.

Adds the save function to trigger new CSS styling.
NG-Class will add the class in the event the condition is true.
Added scope.initializeNewPost() to create a new post.