Blog application on AngularJS