AngularJS wrapper module for the 10,000ft API.
- Install angular-feet with bower:
$ bower install angular-feet --save
- Include the required libraries in your
index.html
:
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-feet/dist/index.js"></script>
- Inject
angularFeetProvider
provider in your app's config. Also add your 10kft API settings:
app.config(function(angularFeetProvider) {
var config= {
apiKey: '',
baseUrl: '',
perPage: 1234
};
angularFeetProvider.configure(config)
});
- In the root folder:
$ cd angular-feet/example
$ http-server
- jspm
- jspm-bower-endpoint
npm install -g jspm
npm install -g jspm-bower-endpoint
jspm registry create bower jspm-bower-endpoint
jspm install
``
## Build
jspm bundle-sfx src/index dist/index.js
#### TODO include an automatic build process