We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 990d1b4 commit e1c0715Copy full SHA for e1c0715
README.md
@@ -33,6 +33,18 @@ Load the javascript and css and declare your Angular dependency
33
angular.module('myModule', ['angular-advanced-searchbox']);
34
```
35
36
+Define the available search parameters in your controller:
37
+
38
+```js
39
+$scope.availableSearchParams = [
40
+ { key: "name", name: "Name", placeholder: "Name..." },
41
+ { key: "city", name: "City", placeholder: "City..." },
42
+ { key: "country", name: "Country", placeholder: "Country..." },
43
+ { key: "emailAddress", name: "E-Mail", placeholder: "E-Mail..." },
44
+ { key: "job", name: "Job", placeholder: "Job..." }
45
+ ];
46
+```
47
48
Then in your view
49
50
```html
0 commit comments