2016-08-21 5 views
0

Chromeで表示しているときに不要なスパンタグと「s」が表示され続けます。私はオンラインで検索しましたが、私はまだ困惑しています。助けてください?その記事を見不要な<span class = "ng-scope"> s</span>

Stop AngularJS inserting <span class="ng-scope"></span> using ng-include

。同様の問題ですが、私の問題は他の何かによって引き起こされたと思います。私はng-includeを使用していません。

詳細をお知らせください。ここで

は、ここでは、コードhttps://github.com/benhbaik/crm

公共/ビュー/ユーザー/ all.htmlとその下の問題のスクリーンショットです。

<div class="page-header"> 
    <h1> 
     Users 
     <a href="https://stackoverflow.com/users/create" class="btn btn-default"> 
      <span class="glyphicon glyphicon-plus"></span> 
      New User 
     </a> 
    </h1> 
</div> 

<div class="jumbotron text-center" ng-show="user.processing"> 
    <span class="glyphicon glyphicon-repeat spinner"></span> 
    <p>Loading Users...</p> 
</div> 

<!-- GETTING RANDOM SPAN TAG HERE w/ "s" --> 

<table class="table table-bordered table-striped"> 
    <thead> 
     <tr> 
      <th>_id</th> 
      <th>Name</th>s 
      <th>Username</th> 
      <th class="col-sm-2"></th> 
     </tr> 
    </thead> 

    <tbody> 
     <tr ng-repeat="person in user.users"> 
      <td>{{ person._id }}</td> 
      <td>{{ person.name }}</td> 
      <td>{{ person.username }}</td> 
      <td class="col-sm-2"> 
       <a href="https://stackoverflow.com/users/{{ person._id }}" class="btn btn-danger">Edit</a> 
       <a href="#" ng-click="user.deleteUser(person._id)" class="btn btn-primary">Delete</a> 
      </td> 
     </tr> 
    </tbody> 
</table> 

Here is a picture in dev tools.

答えて

0

あなたのコードにタイプミスがあります:

<th>Name</th>s 
+0

ああそうねえ。ありがとうございます! –

関連する問題