mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 14:07:50 +00:00
aeb670bf5f
Add an example bundle containing custom extensions, which can be recognized by extensions from another bundle. WTD-518.
32 lines
893 B
JSON
32 lines
893 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",
|
|
"depends": [ "examples[]" ]
|
|
}
|
|
],
|
|
"routes": [
|
|
{
|
|
"templateUrl": "templates/example.html"
|
|
}
|
|
],
|
|
"services": [
|
|
{
|
|
"key": "exampleService",
|
|
"implementation": "ExampleService.js"
|
|
}
|
|
]
|
|
}
|
|
} |