<commit_before># ngPace
angularJS &amp; Pacejs

<a href="http://jsbin.com/tayuki" target"_blank">DEMO</a>

use

<a href="http://github.hubspot.com/pace/docs/welcome/" target="_blank">PACEJS</a>

<h2>choose css Themes</h2>


<h2>JS like</h2>

<pre>
<span class="pl-s2">  &lt;<span class="pl-ent">script</span> <span class="pl-e">src</span>=<span class="pl-s1"><span class="pl-pds">"</span>https://cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.js<span class="pl-pds">"</span></span>&gt;&lt;/<span class="pl-ent">script</span>&gt;</span>

<span class="pl-s2">  &lt;<span class="pl-ent">script</span> <span class="pl-e">src</span>=<span class="pl-s1"><span class="pl-pds">"</span>https://cdn.rawgit.com/yi-chan-chiang/ngPace/master/ngPace.js<span class="pl-pds">"</span></span>&gt;&lt;/<span class="pl-ent">script</span>&gt;</span>

<span class="pl-s2">  &lt;<span class="pl-ent">link</span> <span class="pl-e">href</span>=<span class="pl-s1"><span class="pl-pds">"</span>https://cdn.rawgit.com/yi-chan-chiang/ngPace/master/ngPace.css<span class="pl-pds">"</span></span>&gt;</span>
</pre>

<h2>angular like</h2>

<pre>
var app = angular.module('myApp', ['autoLoad.pace']);
app.run(function(ngPace){
  ngPace.pace.options.ajax.trackMethods = ["GET", "POST", "PUT", "DELETE"];
  ngPace.pace.options.restartOnRequestAfter = 100;
});
</pre>

<h2>WHEN START LOADING</h2>
<pre>
$rootScope.ngPace.isloading = true;
$rootScope.ngPace.iserror = false;
$rootScope.ngPace.isnone = false;
</pre>

<h2>WHEN END LOADING</h2>
<pre>
$rootScope.ngPace.isloading = false;
$rootScope.ngPace.iserror = false;
$rootScope.ngPace.isnone = false;
</pre>
<commit_msg>RENAME<commit_after># ngPace
angularJS &amp; Pacejs

<a href="http://jsbin.com/tayuki" target"_blank">DEMO</a>

use

<a href="http://github.hubspot.com/pace/docs/welcome/" target="_blank">PACEJS</a>

<h2>choose css Themes</h2>


<h2>JS like</h2>

<pre>
<span class="pl-s2">  &lt;<span class="pl-ent">script</span> <span class="pl-e">src</span>=<span class="pl-s1"><span class="pl-pds">"</span>https://cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.js<span class="pl-pds">"</span></span>&gt;&lt;/<span class="pl-ent">script</span>&gt;</span>

<span class="pl-s2">  &lt;<span class="pl-ent">script</span> <span class="pl-e">src</span>=<span class="pl-s1"><span class="pl-pds">"</span>https://cdn.rawgit.com/yi-chan-chiang/ngPace/master/ngPace.js<span class="pl-pds">"</span></span>&gt;&lt;/<span class="pl-ent">script</span>&gt;</span>

<span class="pl-s2">  &lt;<span class="pl-ent">link</span> <span class="pl-e">href</span>=<span class="pl-s1"><span class="pl-pds">"</span>https://cdn.rawgit.com/yi-chan-chiang/ngPace/master/ngPace.css<span class="pl-pds">"</span></span>&gt;</span>
</pre>

<h2>angular like</h2>

<pre>
var app = angular.module('myApp', ['chiang.ngPace']);
app.run(function($ngPace){
  ngPace.pace.options.ajax.trackMethods = ["GET", "POST", "PUT", "DELETE"];
  ngPace.pace.options.restartOnRequestAfter = 100;
});
</pre>

<h2>WHEN START LOADING</h2>
<pre>
$rootScope.ngPace.isloading = true;
$rootScope.ngPace.iserror = false;
$rootScope.ngPace.isnone = false;
</pre>

<h2>WHEN END LOADING</h2>
<pre>
$rootScope.ngPace.isloading = false;
$rootScope.ngPace.iserror = false;
$rootScope.ngPace.isnone = false;
</pre>

{'fraction_non_alphanumeric': 0.2503056234718826, 'fraction_numerical': 0.013447432762836185, 'mean_word_length': 5.890526315789474, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 127, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6448755', 'n_tokens_mistral': 1418, 'n_tokens_neox': 1371, 'n_words': 172}