The govright.corpusServices
module provides services for interacting with the models
exposed by the LoopBack server via the REST API.
Check the documentation
for detailed API reference.
Add govright.corpusServices
module as a dependency to your main application module. Example:
<!doctype html>
<html ng-app="myApp">
<head>
<script src="js/angular.js"></script>
<!-- Include the corpus services script -->
<script src="dist/govright-corpus-services.js"></script>
<script>
// ...and add 'govright.corpusServices' as a dependency
var myApp = angular.module('myApp', ['govright.corpusServices']);
</script>
</head>
<body></body>
</html>
There are several gulp tasks available:
# To build packaged js files from sources
gulp js
# To build html documentation from source ngdocs
# Changes must be commited on `gh-pages` branch
gulp docs
# To run local documentation server
gulp serve
# Build dist and docs
gulp