Skip to content

Commit 17d9935

Browse files
committed
update README with latest changes to dist files in bower package
1 parent 3a19b2b commit 17d9935

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,20 @@ Include with bower
1313
bower install angular-advanced-searchbox
1414
```
1515

16+
The bower package contains files in the ```dist/```directory with the following names:
17+
18+
- angular-advanced-searchbox.js
19+
- angular-advanced-searchbox.min.js
20+
- angular-advanced-searchbox-tpls.js
21+
- angular-advanced-searchbox-tpls.min.js
22+
23+
Files with the ```min``` suffix are minified versions to be used in production. The files with ```-tpls``` in their name have the directive template bundled. If you don't need the default template use the ```angular-paginate-anything.min.js``` file and provide your own template with the ```templateUrl``` attribute.
24+
1625
Load the javascript and css and declare your Angular dependency
1726

1827
```html
19-
<link rel="stylesheet" href="angular-advanced-searchbox.min.css">
20-
<script src="angular-advanced-searchbox.min.js"></script>
28+
<link rel="stylesheet" href="bower_components/angular-advanced-searchbox/dist/angular-advanced-searchbox.min.css">
29+
<script src="bower_components/angular-advanced-searchbox/dist/angular-advanced-searchbox-tpls.min.js"></script>
2130
```
2231

2332
```js

0 commit comments

Comments
 (0)