openmct/example/builtins/bundle.json
Victor Woeltjen 3ed3ee19d7 [Example] Add example of service registration
Add an example of registering a plain service
with Angular. WTD-518.
2014-11-04 16:13:49 -08:00

31 lines
848 B
JSON

{
"name": "Angular Built-ins Example",
"description": "Example showing how to declare extensions with built-in support from Angular.",
"sources": "src",
"extensions": {
"controllers": [
{
"key": "ExampleController",
"implementation": "ExampleController.js",
"depends": [ "$scope", "exampleService" ]
}
],
"directives": [
{
"key": "exampleDirective",
"implementation": "ExampleDirective.js"
}
],
"routes": [
{
"templateUrl": "templates/example.html"
}
],
"services": [
{
"key": "exampleService",
"implementation": "ExampleService.js"
}
]
}
}