<div class="container-fluid articles-users">
	<div class='nav-brand'>
    <span>
       <h2 class="page-header"> <img src='image/icon-travel.png'>
       Статьи пользователей</h2>
    </span>
  </div>
	
  <div class="row articles">
    <button type="button" class="btn btn-primary pull-right" ng-click="addArticle()">Добавить статью</button>
     <div class="col-xs-2 col-md-2 aside">
      <div class="row form-group">

          <label>Выберите страну</label>
          <input type="text" placeholder="Страна" class="form-control" ng-model="searchString">

      </div>
    </div>
  	  	
  		<div class="col-md-10 col-md-offset-2" ng-repeat="article in articles | filter: searchString track by $index ">
  		
        <div class="text-right user">
          <span class="glyphicon glyphicon-user"></span>
          <em>{{article.user_id}}</em>
        </div>
        
        <div class='block-left'>
          <img src='image/noname.png' class="img-circle">
          <div class="count">
            <span class='glyphicon glyphicon-heart-empty countlikes'>{{article.count_likes}}</span>
            <span class='glyphicon glyphicon-comment countcomment'>{{article.count_comment}}</span>
            <img src='image/plane.png' class="pull-right">
            <span class="pull-right datetravel">
              
              {{article.month_travel}}
               {{article.year_travel}}
            </span>
          </div>
          
        </div>
  			
        <div class="block-article">
         <span class="lead title">{{article.title}}</span>
          <div class="location"><small><span class='glyphicon glyphicon-map-marker'> {{article.location_travel}}</span></small></div>
          <div class="annotation">{{article.annotation}}</div>
        </div>
  			<div class="text-right">
            <a href="#/articles/{{article.id}}" class="btn btn-info">Подробнее</a>
        </div>		 		      
  		</div>
  	</div>
  	

</div>